1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-25 04:24:20 +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");