load-dotenv 0.1.2

This is a small procedural macro to load your .env file at compile time
Documentation
1
2
3
4
5
6
7
8
use load_dotenv::load_dotenv;

load_dotenv!();

#[test]
fn test() {
    assert_eq!("value", env!("KEY"));
}