From f0bdba48bb493ad441f9dcb56c8f672e5ad1193c Mon Sep 17 00:00:00 2001 From: Mariusz Pilarek Date: Tue, 5 Nov 2024 11:52:04 +0100 Subject: [PATCH] Removed the 'unexpected cfg condition name' warning. --- zebra-consensus/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zebra-consensus/Cargo.toml b/zebra-consensus/Cargo.toml index a82b8b5f74c..f929920f041 100644 --- a/zebra-consensus/Cargo.toml +++ b/zebra-consensus/Cargo.toml @@ -99,3 +99,6 @@ tracing-subscriber = "0.3.18" zebra-state = { path = "../zebra-state", version = "1.0.0-beta.42", features = ["proptest-impl"] } zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.42", features = ["proptest-impl"] } zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.42" } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(zcash_unstable, values("nsm"))'] }