is_dev

Function is_dev 

Source
pub fn is_dev() -> bool
Expand description

Check if --dev or -d argument was passed on cargo run

ยงExamples

This will run in production mode

cargo run

This will run in development mode

cargo run -- --dev
cargo run -- -d