Skip to content

Commit 48424da

Browse files
committed
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.
1 parent f19c1b5 commit 48424da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

json/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
1616
#![crate_name = "bitcoincore_rpc_json"]
1717
#![crate_type = "rlib"]
18+
#![allow(deprecated)] // Because of `GetPeerInfoResultNetwork::Unroutable`.
1819

1920
pub extern crate bitcoin;
2021
#[allow(unused)]

0 commit comments

Comments
 (0)