diff rust/src/fridge.rs @ 631:c57821a60e51 rust

rust work in progress ?
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Jul 2019 18:28:34 +0800
parents e1b5938de122
children bde302def78e
line wrap: on
line diff
--- a/rust/src/fridge.rs	Fri Apr 19 13:58:56 2019 +0800
+++ b/rust/src/fridge.rs	Sat Jul 06 18:28:34 2019 +0800
@@ -1,5 +1,3 @@
-extern crate futures;
-extern crate tokio_core;
 #[cfg(target_os = "linux")]
 extern crate sysfs_gpio;
 
@@ -9,9 +7,7 @@
 use std::error::Error;
 use std::time::{Duration,Instant};
 
-use futures::{Future,future,Sink,Stream};
-use futures_sink::{Sink};
-use tokio_core::reactor::{Timeout,Handle};
+use futures::{Future,Stream};
 use futures::sync::{mpsc};
 
 #[cfg(target_os = "linux")]