globalenv

Crates.ioglobalenv
lib.rsglobalenv
version0.4.2
sourcesrc
created_at2020-08-20 22:01:30.751571
updated_at2022-11-10 08:27:42.039457
descriptionGlobally sets environment variables (and not just for the current process). Support for Windows, zsh and bash (MacOS and most Linux distros).
homepage
repositoryhttps://github.com/nicolasbauw/globalenv
max_upload_size
id278932
size11,177
Nicolas BAUW (nicolasbauw)

documentation

README

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

Commit count: 51

cargo fmt