1 unstable release
Uses old Rust 2015
0.1.0 | Apr 17, 2018 |
---|
#2488 in Development tools
4KB
is-dev-rs
A simple macro to determine if an environment is a "development" environment.
Built because some of us (me) are lazy and don't feel like copy-pasting the same check for development environments over and over again.
❤️
Ex:
#[macro_use] extern crate is_dev;
fn test_is_dev() {
let e: bool = is_dev!("ENV", "development");
assert!(e);
}
lib.rs
:
A simple macro to determine if an environment is a "development" environment.
Built because some of us (me) are lazy and don't feel like copy-pasting the same check for development environments over and over again.
❤️