Module config

Module config 

Source

Structs§

Config
Configuration for the Advent of Code client.
ConfigBuilder

Enums§

ConfigError
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 config with 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.