Skip to main content

Module config

Module config 

Source

Structs§

ArchiveConfig
OutputConfig
PruningConfig
ResolvedConfig
RulesConfig

Constants§

CONFIG_VERSION
DEFAULT_OUTPUT_CAP_BYTES
DEFAULT_RECOVERY_CAP_BYTES
DEFAULT_RECOVERY_CAP_LINES
MAX_OUTPUT_CAP_BYTES
MAX_RECOVERY_CAP_BYTES
MAX_RECOVERY_CAP_LINES
MIN_OUTPUT_CAP_BYTES
MIN_RECOVERY_CAP_BYTES
MIN_RECOVERY_CAP_LINES

Functions§

defaults
Resolve the built-in configuration defaults.
get
Render one resolved configuration field.
init
Create the default configuration without replacing an existing file.
load
Load and validate the active configuration or built-in defaults.
load_from
Load and validate one explicit configuration path.
path
Resolve the active user configuration path.
set
Set one known field and atomically write the validated document.
show_json
Render a resolved configuration as machine-readable JSON.
show_toml
Render a resolved configuration as TOML.
unset
Remove one known field and atomically write the validated document.