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

Build #3615469 2026-06-18 10:42:41

# rustc version rustc 1.98.0-nightly (c1b22f44c 2026-06-17)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "29d2d61b21a7427c26881318a2a2ea14173d512677407b7c41f63a6cff1b7b67" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260617-1.98.0-nightly-c1b22f44c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `is-dev` (manifest) generated 1 warning [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting is-dev v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/is_dev/index.html [INFO] running `Command { std: "docker" "inspect" "29d2d61b21a7427c26881318a2a2ea14173d512677407b7c41f63a6cff1b7b67", kill_on_drop: false }`