From 3e21826a16a473b3721951e93545c29098d52b7c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 24 Oct 2020 11:00:38 +0100 Subject: [PATCH] add if_chain Signed-off-by: Ian Jackson --- Cargo.lock.example | 7 +++++++ Cargo.toml | 1 + 2 files changed, 8 insertions(+) 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" -- 2.30.2