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

6 lines
144 B
Rust
Raw Normal View History

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