1 unstable release
0.1.0 | Jun 19, 2024 |
---|
#981 in Concurrency
14KB
167 lines
safenv
A thread-safe alternative to the std::env
module
lib.rs
:
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()));
Dependencies
~0–4.5MB