2 stable releases

1.0.1 Nov 12, 2021
1.0.0 Nov 11, 2021

#437 in Build Utils

Download history 20692/week @ 2024-07-20 26062/week @ 2024-07-27 25078/week @ 2024-08-03 23321/week @ 2024-08-10 27713/week @ 2024-08-17 30532/week @ 2024-08-24 29943/week @ 2024-08-31 29622/week @ 2024-09-07 27780/week @ 2024-09-14 29406/week @ 2024-09-21 32152/week @ 2024-09-28 32509/week @ 2024-10-05 34193/week @ 2024-10-12 32172/week @ 2024-10-19 33908/week @ 2024-10-26 34932/week @ 2024-11-02

140,656 downloads per month
Used in 115 crates (via shadow-rs)

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