From 48424daec10f6fd074a364daddb8f1aa27441911 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 30 Apr 2024 10:09:03 +1000 Subject: [PATCH] Allow deprecated in main lib module We deprecate a variant in `GetPeerInfoResultNetwork` that causes clippy to give a false positive. Adding an attribute on the enum does not quitet it down, just add a module level attribute. This warning has been here for ever. --- json/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/json/src/lib.rs b/json/src/lib.rs index bc3468f4..1ba8b93c 100644 --- a/json/src/lib.rs +++ b/json/src/lib.rs @@ -15,6 +15,7 @@ #![crate_name = "bitcoincore_rpc_json"] #![crate_type = "rlib"] +#![allow(deprecated)] // Because of `GetPeerInfoResultNetwork::Unroutable`. pub extern crate bitcoin; #[allow(unused)]