2 stable releases

1.0.1 Nov 12, 2021
1.0.0 Nov 11, 2021

#373 in Build Utils

Download history 23425/week @ 2024-03-14 25570/week @ 2024-03-21 23507/week @ 2024-03-28 26571/week @ 2024-04-04 26151/week @ 2024-04-11 25085/week @ 2024-04-18 23567/week @ 2024-04-25 23383/week @ 2024-05-02 18698/week @ 2024-05-09 18389/week @ 2024-05-16 17087/week @ 2024-05-23 21502/week @ 2024-05-30 18069/week @ 2024-06-06 20373/week @ 2024-06-13 21662/week @ 2024-06-20 18457/week @ 2024-06-27

82,216 downloads per month
Used in 91 crates (2 directly)

MIT AND Apache-2.0

3KB

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