Skip to main content

env_config

Macro env_config 

Source
macro_rules! env_config {
    (
        $(#[$attr:meta])*
        $visibility:vis fn $name:ident() -> $value_type:ty =
            $env_var:path, default = $default:expr;
    ) => { ... };
}
Expand description

Declare a function that parses and caches one scalar environment variable.