aboutsummaryrefslogtreecommitdiffstats
path: root/crates/config/src/lib.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 01:37:39 +0000
committertv <tv@krebsco.de>2026-11-29 01:37:39 +0000
commitbcb729ce0cae2cd8bbd8f60f8e98a81674bcd4fb (patch)
tree7ed9a9bdfd0b55061cc701585e550957563f5597 /crates/config/src/lib.rs
parentfd0e8b29a86444b772f71d5db767c201b04cad2b (diff)
config: the report of a configuration, and --print-config
The report moves to the crate, as it was (report::report, Reports, Values): each option of a schema with its value, by the settings in effect given as JSON by option name, and where it came from; imported values and secrets left out. And the argument a program prints it by (arguments::with_print_config, prints_config). continuum gives its settings and what it loaded to it; --print-config and GET /admin/config say what they said.
Diffstat (limited to 'crates/config/src/lib.rs')
-rw-r--r--crates/config/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs
index aae8bce..bff1221 100644
--- a/crates/config/src/lib.rs
+++ b/crates/config/src/lib.rs
@@ -6,6 +6,7 @@
//! * [`arguments`]: the command line, and files and arguments put together (with the
//! feature `clap`);
//! * [`layer`]: values and where they came from, later sources over earlier ones;
+//! * [`report`]: what each option ended up as and where from, to print or to serve;
//! * [`import`]: values taken from elsewhere instead of written out;
//! * [`units`]: durations and sizes as operators write them.
@@ -15,6 +16,7 @@ pub mod file;
pub mod import;
pub mod layer;
pub mod option;
+pub mod report;
pub mod units;
#[cfg(test)]