From 673d796b01032f4ebf5fecad67235ed4af030552 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 31 May 2024 11:47:14 +1000 Subject: [PATCH] Whitelist cfg attributes As we did in rust-bitcoin/rust-bitcoin#2785. rust-lang/rust#124800 has been fixed and we can update our nightly version by whitelisting all cfgs that are used. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f4dda6b..648cfab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,3 +39,6 @@ socks = { version = "0.3.4", optional = true} [workspace] members = ["fuzz", "integration_test"] + +[lints.rust] +unexpected_cfgs = { level = "deny", check-cfg = ['cfg(jsonrpc_fuzz)'] }