Skip to main content

cargo_home_config_path

Function cargo_home_config_path 

Source
pub fn cargo_home_config_path() -> Option<PathBuf>
Expand description

$CARGO_HOME/config.toml’s path, or None if $CARGO_HOME is not set.

Deliberately reads only the CARGO_HOME environment variable — no fallback to $HOME/%USERPROFILE% when it is unset (spec FR-004), and no dirs/home crate dependency added to compute one.