| Crates.io | is_debug |
| lib.rs | is_debug |
| version | 1.1.0 |
| created_at | 2021-11-11 07:04:16.174001+00 |
| updated_at | 2025-02-14 08:16:49.458584+00 |
| description | get build model is debug |
| homepage | |
| repository | https://github.com/baoyachi/rust_is_debug |
| max_upload_size | |
| id | 480016 |
| size | 7,420 |
The crate by Rust that get build model is debug.
[dependencies]
is_debug = "1"
use is_debug::{is_debug, is_release};
fn main() {
println!("{}", is_debug());
println!("{}", is_release());
}