mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-25 04:24:20 +00:00
5 lines
144 B
Rust
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");
|