https://github.com/panicbit/dotenv_consts
https://github.com/panicbit/dotenv_consts
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/panicbit/dotenv_consts
- Owner: panicbit
- Created: 2019-05-08T00:02:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-08T00:04:56.000Z (about 7 years ago)
- Last Synced: 2025-12-25T21:14:18.555Z (6 months ago)
- Language: Rust
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`dotenv_consts` is a macro that expands the environment variables in your dotfile to constanst.
```rust
mod env {
::dotenv_consts::dotenv_consts!();
}
fn main() {
println!("{}", env::SOME_VAR);
}
```