is-dev 0.1.0

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. :heart: Ex: ``` #[macro_use] extern crate is_dev; fn test_is_dev() { let e: bool = is_dev!("ENV", "development"); assert!(e); } ```
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 4.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 966.37 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • quinnjr

is-dev-rs

Build Status

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.

:heart:

Ex:

#[macro_use] extern crate is_dev;

fn test_is_dev() {
    let e: bool = is_dev!("ENV", "development");
    assert!(e);
}