Skip to main content

Module config

Module config 

Source
Expand description

TOML-based configuration, validation, and hot-reload. TOML-based configuration: loading, validation, diffing, and hot-reload.

Load from a file with [Config::load], or build programmatically via [Config::default] and [Config::set]. Serialize back to TOML with [Config::save_to_file].

Enable the tokio feature for async loading and file-watcher hot-reload.

Structs§

Config
Configuration structure for the logging system.

Enums§

ConfigError
Configuration error variants.
LogRotation
Log rotation policy variants.
LoggingDestination
Enum representing different logging destinations.