Crate getenv

Source
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