Structs§
- Config
- Configuration for the Advent of Code client.
- Config
Builder
Enums§
- Config
Error - Errors that can occur when configuring client settings.
Functions§
- load_
config - Loads client options in the following order:
- read_
config_ from_ current_ dir - Loads configuration values from a TOML file in the working directory.
- read_
config_ from_ env_ vars - Returns a copy of
configwith settings that match any non-empty Advent of Code environment variables. - read_
config_ from_ file - Loads configuration values from a TOML file.
- read_
config_ from_ user_ config_ dirs - Loads configuration data from a user’s config directory relative to their home directory. Any option values loaded here will overwrite values loaded previously.