ソースを参照

add cfg_if crate to check which feature is enabled

ghassmo 4 年 前
コミット
9fce761ae4
2 ファイル変更2 行追加0 行削除
  1. 1 0
      Cargo.lock
  2. 1 0
      Cargo.toml

+ 1 - 0
Cargo.lock

@@ -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",

+ 1 - 0
Cargo.toml

@@ -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"