dotenv_consts 0.1.0

A macro that expands dotenv variables to constants
Documentation

dotenv_consts is a macro that expands the environment variables in your dotfile to constanst.

mod env {
    ::dotenv_consts::dotenv_consts!();
}

fn main() {
    println!("{}", env::SOME_VAR);
}