| 0.1.1 |
|
|---|---|
| 0.1.0 |
|
#24 in #constants
3KB
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);
}
Dependencies
~5MB
~99K SLoC