Skip to main content

kellnr_settings/
lib.rs

1pub mod cli;
2pub mod compile_time_config;
3pub mod config_source;
4pub mod constants;
5pub mod docs;
6pub mod leaf_labels;
7pub mod local;
8pub mod log;
9pub mod oauth2;
10pub mod origin;
11pub mod postgresql;
12pub mod protocol;
13pub mod proxy;
14pub mod registry;
15pub mod s3;
16pub mod settings;
17pub mod setup;
18pub mod toolchain;
19
20pub use cli::{CliResult, ResolvedSettings, ShowConfigOptions, cli_flag_map, parse_cli};
21pub use config_source::{ConfigSource, SourceMap};
22pub use docs::Docs;
23pub use leaf_labels::leaf_label;
24pub use local::Local;
25pub use log::{LogFormat, LogLevel};
26pub use oauth2::OAuth2;
27pub use origin::Origin;
28pub use postgresql::Postgresql;
29pub use protocol::Protocol;
30// Re-export the provcfg-generated Prov type and the Provenance trait so
31// callers (e.g. the `kellnr config show` printer) can walk per-leaf
32// provenance directly without round-tripping through `Settings`. Also
33// re-export `erased_serde` so the walk visitor's value parameter can be
34// referenced without a direct provcfg dep.
35pub use provcfg::{Category, Config, Provenance, erased_serde};
36pub use proxy::Proxy;
37pub use registry::Registry;
38pub use settings::{
39    Settings, SettingsError, SettingsProv, build_prov_with_cli, sources_from_prov, test_settings,
40};
41pub use setup::Setup;
42pub use toolchain::Toolchain;