Skip to main content

Crate kellnr_settings

Crate kellnr_settings 

Source

Re-exports§

pub use cli::CliResult;
pub use cli::ResolvedSettings;
pub use cli::ShowConfigOptions;
pub use cli::cli_flag_map;
pub use cli::parse_cli;
pub use config_source::ConfigSource;
pub use config_source::SourceMap;
pub use docs::Docs;
pub use gcs::Gcs;
pub use leaf_labels::leaf_label;
pub use local::Local;
pub use log::LogFormat;
pub use log::LogLevel;
pub use oauth2::OAuth2;
pub use origin::Origin;
pub use postgresql::Postgresql;
pub use protocol::Protocol;
pub use proxy::Proxy;
pub use registry::Registry;
pub use settings::Settings;
pub use settings::SettingsProv;
pub use settings::build_prov_with_cli;
pub use settings::sources_from_prov;
pub use settings::test_settings;
pub use setup::Setup;
pub use toolchain::Toolchain;
pub use webhooks::Webhooks;
pub use erased_serde;

Modules§

cli
compile_time_config
config_source
constants
docs
gcs
leaf_labels
Human-readable display labels for individual settings leaves.
local
log
oauth2
origin
postgresql
protocol
proxy
registry
s3
settings
setup
toolchain
webhooks

Structs§

Config
A builder that collects Sources in priority order, then merges them.

Enums§

Category
Which kind of source contributed a value.
SettingsError
Error returned by settings construction. Aliases provcfg::Error, every failure surfaces from there (source deserialization or config-file I/O), so kellnr-side code keeps a domain-flavoured name without inventing its own opaque box. The error type returned by Config::build and the add_*_file helpers.

Traits§

Provenance
Implemented by every generated *Prov struct.