docs.rs failed to build windows-env-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
windows-env
Easily manage Windows environment variables permanently, without the need to restart your system. (but terminal restart is required)
Features:
- Easily operate list variables like
PATH.
Installation
- as lib:
[] = "0.2.0" - as executable binary:
Example
-
binary usage: runs
wenv -hto see help message. -
lib usage:
- using windows-env as a lib will affect the current process, so you can use the new env by spawning processes after modifying env in rust code.
Compare
- set_env:
- it uses powershell script while this crate uses windows api
TODO
- cli support
- System env modification
MSRV
- v0.1.1: 1.70
- v0.3.0: 1.82