Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 527 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 527 Bytes

globalenv

Current Crates.io Version Downloads badge

Globally set or unset environment variables (and not just for the current process). Support for Windows, zsh and bash (MacOS and most Linux distros). Example:

use globalenv::{set_var, unset_var};
set_var("ENVTEST", "TESTVALUE").unwrap();
unset_var("ENVTEST").unwrap();

License: MIT