From: Ian Jackson Date: Sat, 24 Oct 2020 10:00:38 +0000 (+0100) Subject: add if_chain X-Git-Tag: otter-0.2.0~598 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3e21826a16a473b3721951e93545c29098d52b7c;p=otter.git add if_chain Signed-off-by: Ian Jackson --- diff --git a/Cargo.lock.example b/Cargo.lock.example index 4065f528..b3362695 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -723,6 +723,12 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "if_chain" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f7280c75fb2e2fc47080ec80ccc481376923acb04501957fc38f935c3de5088" + [[package]] name = "index_vec" version = "0.1.2" @@ -1094,6 +1100,7 @@ dependencies = [ "glob 0.3.0", "hashlink", "htmlescape", + "if_chain", "index_vec", "inventory", "itertools", diff --git a/Cargo.toml b/Cargo.toml index 4ac0f0b3..5223f086 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ fs2 = "0.4" glob = "0.3" hashlink = { version = "0.5", features = ["serde_impl"] } htmlescape = "0.3" +if_chain = "1" index_vec = { version = "0.1.1", features = ['serde'] } inventory = "0.1" itertools = "0.9"