Expand description
This crate provides environment variable wrappers.
Re-exports§
pub use secrecy;
Modules§
- aws
- cargo
- conda
- cuda
- docker
- git
- go
- homebrew
- java
- locale
- macos
- near
- node
- openssl
- posix
- proxy
- python
- ruby
- rust
- ssh
- windows
- xdg
Statics§
- FEATURES
- The set of features that are enabled in this build of the crate.
Functions§
- all_
proxy - See: https://docs.brew.sh/Manpage#environment
- appdata
- See: https://en.wikipedia.org/wiki/Environment_variable#Windows
- aws_
access_ key_ id - See: https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html
- aws_
default_ region - See: https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html
- aws_
secret_ access_ key - See: https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html
- bundle_
cache_ path - See: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/man/bundle-config.1.ronn
- bundle_
path - See: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/man/bundle-config.1.ronn See: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler.rb See: https://github.com/rubygems/rubygems/blob/master/bundler/spec/support/rubygems_ext.rb See: https://github.com/rubygems/rubygems/blob/master/bundler/spec/install/path_spec.rb
- cargo
- See: https://doc.rust-lang.org/cargo/reference/environment-variables.html
- cargo_
home - See: https://doc.rust-lang.org/cargo/reference/environment-variables.html
- classpath
- See: https://docs.oracle.com/javase/tutorial/essential/environment/paths.html See: https://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html
- conda
- conda_
prefix - See: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
- cuda_
cache_ disable - See: https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
- docker_
host - See: https://docs.docker.com/reference/cli/docker/
- dyld_
fallback_ library_ path - See: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/UsingDynamicLibraries.html
- dyld_
framework_ path - See: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html
- dyld_
library_ path - See: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/UsingDynamicLibraries.html
- editor
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- ftp_
proxy - See: https://docs.brew.sh/Manpage#environment
- gem
- See: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/gem_helper.rb See: https://github.com/rubygems/rubygems/blob/master/bundler/spec/support/path.rb
- gem_
home - See: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler.rb See: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/installer.rb See: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/path_support.rb
- gem_
path - See: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler.rb See: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/path_support.rb
- git
- See: https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables
- git_dir
- See: https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables
- goroot
- See: https://pkg.go.dev/cmd/go#hdr-Environment_variables
- home
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- homebrew_
cache - See: https://docs.brew.sh/Manpage#environment
- homebrew_
cellar - See: https://docs.brew.sh/Manpage#environment
- homebrew_
prefix - See: https://docs.brew.sh/Manpage#environment
- homebrew_
repository - See: https://docs.brew.sh/Manpage#environment
- http_
proxy - See: https://docs.brew.sh/Manpage#environment
- https_
proxy - See: https://docs.brew.sh/Manpage#environment
- ifs
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- java_
home - See: https://www.baeldung.com/java-home-on-windows-mac-os-x-linux See: https://docs.oracle.com/javase/tutorial/essential/environment/paths.html
- lang
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- ld_
library_ path - See: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/UsingDynamicLibraries.html
- near_
env - See: https://docs.near.org/smart-contracts/testing/kurtosis-localnet
- no_
color - See: https://no-color.org
- no_
proxy - See: https://docs.brew.sh/Manpage#environment
- node_
env - See: https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production
- path
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- pathext
- See: https://www.nextofwindows.com/what-is-pathext-environment-variable-in-windows See: https://en.wikipedia.org/wiki/Environment_variable#Windows
- ps1
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- pwd
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- python
- pythonhome
- See: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
- pythonpath
- See: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
- pythonutf8
- See: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8 See: https://peps.python.org/pep-0686/
- ruby
- rubylib
- See: https://linux.die.net/man/1/ruby
- rubypath
- See: https://linux.die.net/man/1/ruby
- rustc
- See: https://doc.rust-lang.org/cargo/reference/environment-variables.html
- rustdoc
- See: https://doc.rust-lang.org/cargo/reference/environment-variables.html
- rustfmt
- See: https://doc.rust-lang.org/cargo/reference/environment-variables.html
- shell
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- ssh_
auth_ sock - See: https://man7.org/linux/man-pages/man1/ssh.1.html#ENVIRONMENT
- ssl_
cert_ dir - See: https://github.com/rustls/rustls-native-certs/issues/16
- ssl_
cert_ file - See: https://github.com/rustls/rustls-native-certs/issues/16
- term
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- tmpdir
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- tz
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- user
- See: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap08.html
- username
- See: https://en.wikipedia.org/wiki/Environment_variable#Windows
- var
- var_
secret - virtual_
env - See: https://docs.python.org/3/library/venv.html
- windir
- See: https://learn.microsoft.com/en-us/windows/deployment/usmt/usmt-recognized-environment-variables
- xdg_
cache_ home - See: https://specifications.freedesktop.org/basedir-spec/latest/#variables
- xdg_
config_ home - See: https://specifications.freedesktop.org/basedir-spec/latest/#variables
- xdg_
data_ home - See: https://specifications.freedesktop.org/basedir-spec/latest/#variables
- xdg_
state_ home - See: https://specifications.freedesktop.org/basedir-spec/latest/#variables