From: Ian Jackson Date: Sun, 8 Aug 2021 01:44:39 +0000 (+0100) Subject: config: Deprecate quoted values X-Git-Tag: hippotat/1.0.0~230 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=e8773af22ca301aa8fff2827fc2b4c0562a4d281;p=hippotat.git config: Deprecate quoted values Signed-off-by: Ian Jackson --- diff --git a/src/config.rs b/src/config.rs index 3a45eb8..372c20d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -55,7 +55,7 @@ max_requests_outstanding = 6 max_batch_up = 4000 http_retry = 5 port = 80 -vroutes = '' +vroutes = ifname_client = hippo%d ifname_server = shippo%d max_clock_skew = 300 @@ -286,6 +286,11 @@ impl Aggregate { || anyhow!("mismatched quotes around quoted value") )? .to_owned(); + + eprintln!("warning: {}: \ + quoted values are deprecated; their meaning will change", + &loc); + Ok::<_,AE>(unq) })() .with_context(|| format!("key {:?}", key))