Skip to content

Commit 345728e

Browse files
committed
f - fix build warnings for --features=futures
1 parent 625c46b commit 345728e

File tree

1 file changed

+3
-1
lines changed
  • lightning-background-processor/src

1 file changed

+3
-1
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ use lightning::routing::gossip::{NetworkGraph, P2PGossipSync};
3333
use lightning::routing::utxo::UtxoLookup;
3434
use lightning::routing::router::Router;
3535
use lightning::routing::scoring::{Score, WriteableScore};
36-
use lightning::util::events::{Event, EventHandler, EventsProvider, PathFailure};
36+
use lightning::util::events::{Event, PathFailure};
37+
#[cfg(feature = "std")]
38+
use lightning::util::events::{EventHandler, EventsProvider};
3739
use lightning::util::logger::Logger;
3840
use lightning::util::persist::Persister;
3941
use lightning_rapid_gossip_sync::RapidGossipSync;

0 commit comments

Comments
 (0)