rust_dotenv 0.1.3

A Rust crate to load environment variables from .env files.
Documentation
1
2
3
4
5
6
7
8
9
10
11



pub fn parse_var(value: String) -> String {

    if value.starts_with('"') && value.ends_with('"') {
        return value[1..value.len()-1].to_string();
    }

    value
}