1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-04-02 13:20:31 +00:00
royalnet/src/utils/version.rs

5 lines
144 B
Rust

#[cfg(debug_assertions)]
pub const VERSION: &str = "DEBUG";
#[cfg(not(debug_assertions))]
pub const VERSION: &str = env!("CARGO_PKG_VERSION");