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