Crate safenv

Source
Expand description

A thread-safe alternative to the std::env module

§Examples

use safenv as env;

let key = "KEY";
env::set_var(key, "VALUE");
assert_eq!(env::var(key), Ok("VALUE".to_string()));

Re-exports§

pub use env::*;

Modules§

env
A thread-safe alternative to the std::env module