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

Download history 29454/week @ 2024-08-27 30751/week @ 2024-09-03 28020/week @ 2024-09-10 28651/week @ 2024-09-17 30172/week @ 2024-09-24 31829/week @ 2024-10-01 32719/week @ 2024-10-08 35496/week @ 2024-10-15 30944/week @ 2024-10-22 35863/week @ 2024-10-29 32760/week @ 2024-11-05 34554/week @ 2024-11-12 35167/week @ 2024-11-19 31416/week @ 2024-11-26 39404/week @ 2024-12-03 36931/week @ 2024-12-10

148,329 downloads per month
Used in 119 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"
use is_debug::{is_debug, is_release};

fn main() {
	println!("{}", is_debug());

	println!("{}", is_release());
}

No runtime deps