read_env

Macro read_env 

Source
macro_rules! read_env {
    ($var:ident) => { ... };
}
Expand description

Reads an environment variable, and goes into panic if it is not found.

fn main() {
  println!("MAX_DUCK_SIZE is `{}`", read_env!(MAX_DUCK_SIZE));
}