Skip to main content

kellnr_settings/
lib.rs

1pub mod cli;
2pub mod compile_time_config;
3mod config_source;
4pub mod constants;
5mod docs;
6mod filter;
7pub mod gcs;
8mod leaf_labels;
9mod local;
10mod log;
11pub mod oauth2;
12mod origin;
13mod postgresql;
14mod protocol;
15pub mod proxy;
16mod registry;
17pub mod s3;
18mod settings;
19mod setup;
20mod toolchain;
21mod 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::{ClaimMatch, OAuth2};
32pub use origin::{Origin, UrlPathPrefix};
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, SessionAge};
43pub use settings::{
44    Settings, SettingsError, SettingsProv, build_prov_with_cli, settings_from_prov,
45    sources_from_prov,
46};
47#[cfg(any(test, feature = "test-support"))]
48pub use settings::{test_settings, test_settings_in};
49pub use setup::Setup;
50pub use toolchain::Toolchain;
51pub use webhooks::Webhooks;