Use alloc for no_std builds
[rust-lightning] / lightning / src / util / events.rs
index 013e3c4e611bbdfb130ca85094911499e65a6da5..650df285f1d7dbd37131f6d0ca0364cf4327a1b9 100644 (file)
@@ -23,8 +23,9 @@ use bitcoin::blockdata::script::Script;
 
 use bitcoin::secp256k1::key::PublicKey;
 
+use prelude::*;
 use core::time::Duration;
-use std::ops::Deref;
+use core::ops::Deref;
 
 /// An Event which you should probably take some action in response to.
 ///