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