2 stable releases

1.0.1 Nov 12, 2021
1.0.0 Nov 11, 2021

#125 in Build Utils

Download history 3703/week @ 2022-03-13 5348/week @ 2022-03-20 5750/week @ 2022-03-27 4661/week @ 2022-04-03 6057/week @ 2022-04-10 6380/week @ 2022-04-17 7035/week @ 2022-04-24 13517/week @ 2022-05-01 13907/week @ 2022-05-08 10880/week @ 2022-05-15 7983/week @ 2022-05-22 6913/week @ 2022-05-29 5854/week @ 2022-06-05 10609/week @ 2022-06-12 7120/week @ 2022-06-19 8055/week @ 2022-06-26

32,516 downloads per month
Used in 38 crates (2 directly)

MIT AND Apache-2.0

2KB

is_debug

The crate by Rust that get build model is debug.

use function

[dependencies]
is_debug = "1"
fn main() {
    println!(is_debug());
    
    println!(is_release());
}

No runtime deps