From bcb729ce0cae2cd8bbd8f60f8e98a81674bcd4fb Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 01:37:39 +0000 Subject: 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. --- crates/config/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/config/Cargo.toml') diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 2308315..a025f3d 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -24,7 +24,7 @@ tracing = ["dep:tracing"] [dependencies] anyhow = "1.0" clap = { version = "4.6", optional = true } -serde = { version = "1.0", optional = true } +serde = { version = "1.0", features = ["derive"], optional = true } serde_json = "1.0" toml = { version = "1.1", optional = true } tracing = { version = "0.1", optional = true } -- cgit v1.3.1