3 stable releases
new 1.0.2 | Dec 13, 2024 |
---|---|
1.0.1 | Nov 12, 2021 |
1.0.0 | Nov 11, 2021 |
#133 in Build Utils
148,329 downloads per month
Used in 119 crates
(via shadow-rs)
3KB
is_debug
The crate by Rust that get build model is debug.
use function
[dependencies]
is_debug = "1"
use is_debug::{is_debug, is_release};
fn main() {
println!("{}", is_debug());
println!("{}", is_release());
}