Expand description
APIs for reading pacaptr
configurations from the filesystem.
I decided not to trash user’s $HOME
without their permission, so:
- If the user hasn’t yet specified any path to look at, we will look for the config file in the default path.
- If the config file is not present anyway, a default one will be loaded
with
Default::default
, and no files will be written. - Any config item can be overridden by the corresponding
PACAPTR_*
environment variable. For example,PACAPTR_NEEDED=false
is prioritized overneeded = true
inpacaptr.toml
.
Structs§
- Configurations that may vary when running the package manager.
Constants§
- The environment variable name for custom config file path.
- The environment variable prefix for config item literals.
- The crate name.