dotenvs 0.2.1

A correct dotenv library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod fixtures;
use fixtures::*;

use std::env;

#[test]
fn test_var() -> anyhow::Result<()> {
    let _t = with_basic_dotenv()?;

    assert!(env::var("BASIC").is_err());
    assert_eq!(dotenv::var("BASIC")?, "basic");

    Ok(())
}