Crates.io | is-dev |
lib.rs | is-dev |
version | 0.1.0 |
source | src |
created_at | 2018-04-17 12:35:47.346724 |
updated_at | 2018-04-17 12:35:47.346724 |
description | 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); } ``` |
homepage | https://github.com/quinnjr/is-dev-rs |
repository | |
max_upload_size | |
id | 61070 |
size | 4,634 |