Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit a587f1c

Browse files
committed
Allow unused imports
1 parent cdb00d8 commit a587f1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/json/v17/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ pub use blockchain::*;
191191
// verifytxoutproof "proof"
192192

193193
// == Control ==
194+
#[allow(unused_imports)] // TODO: Remove this.
194195
pub use control::*;
195196
// getmemoryinfo ("mode")
196197
// help ( "command" )
@@ -203,6 +204,7 @@ pub use generating::*;
203204
// generate nblocks ( maxtries )
204205

205206
// == Mining ==
207+
#[allow(unused_imports)] // TODO: Remove this.
206208
pub use mining::*;
207209
// getblocktemplate ( TemplateRequest )
208210
// getmininginfo
@@ -226,6 +228,7 @@ pub use network::*;
226228
// setnetworkactive true|false
227229

228230
// == Rawtransactions ==
231+
#[allow(unused_imports)] // TODO: Remove this.
229232
pub use raw_transactions::*;
230233
// combinepsbt ["psbt",...]
231234
// combinerawtransaction ["hexstring",...]
@@ -244,6 +247,7 @@ pub use raw_transactions::*;
244247
// testmempoolaccept ["rawtxs"] ( allowhighfees )
245248

246249
// == Util ==
250+
#[allow(unused_imports)] // TODO: Remove this.
247251
pub use util::*;
248252
// createmultisig nrequired ["key",...] ( "address_type" )
249253
// estimatesmartfee conf_target ("estimate_mode")
@@ -314,6 +318,7 @@ pub use wallet::*;
314318

315319

316320
// == Zmq ==
321+
#[allow(unused_imports)] // TODO: Remove this.
317322
pub use zmq::*;
318323
// getzmqnotifications
319324

0 commit comments

Comments
 (0)