add cfg_if crate to check which feature is enabled

This commit is contained in:
ghassmo
2021-09-15 21:28:54 +03:00
parent 19c74bfc4f
commit 9fce761ae4
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -1345,6 +1345,7 @@ dependencies = [
"bls12_381",
"bs58 0.4.0",
"bytes 1.1.0",
"cfg-if 1.0.0",
"clap",
"crypto_api_chachapoly",
"ctrlc",

View File

@@ -50,6 +50,7 @@ ctrlc = "3.1.7"
serde_json = "1.0.61"
owning_ref = "0.4.1"
signal-hook = "0.3.8"
cfg-if = "1.0.0"
smol = "1.2.4"
futures = "0.3.5"