Expand description
Provides access to environment variables and well-known paths.
Enums§
- VarError
- One of the possible errors that can occur when reading an environment variable.
- Working
Path Error - One of the possible errors returned by
working_path().
Functions§
- exe_
name - Returns the file name of the currently running executable.
- exe_
path - Returns the full file system path to directory containing the currently running executable.
- project_
path - Returns the full file system path to the cargo project of the currently running executable.
- var
- Returns the value of the given environment variable.
- working_
path - Returns the full file system path to the current working directory.
- workspace_
path - Returns the full file system path to the cargo workspace of the currently running executable.