From fd0e8b29a86444b772f71d5db767c201b04cad2b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 01:27:07 +0000 Subject: config: read names the option whose value doesn't fit Where the values set make none of what layer::read reads them into, its error names the option and where it was set, which serde doesn't: the first that alone makes none, as continuum found it for its settings; or, where what is read needs more than one option, the first without which the others make one. continuum reads its settings by it, and a party's client's options are named alike. --- crates/config/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/config/Cargo.toml') diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index e46c8ef..2308315 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -28,3 +28,6 @@ serde = { version = "1.0", optional = true } serde_json = "1.0" toml = { version = "1.1", optional = true } tracing = { version = "0.1", optional = true } + +[dev-dependencies] +serde = { version = "1.0", features = ["derive"] } -- cgit v1.3.1