From 1b43b92c5b5774cc977216ef1d927cbe78529546 Mon Sep 17 00:00:00 2001 From: Titouan Rigoudy Date: Sat, 18 May 2019 20:39:52 +0000 Subject: [PATCH] Remove unnecessary extern crate declarations. --- src/main.rs | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/main.rs b/src/main.rs index c6a159f..d9a6f90 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,26 +5,15 @@ mod proto; mod room; mod user; -extern crate byteorder; -extern crate bytes; -extern crate core; -extern crate crypto; -extern crate encoding; -extern crate futures; +// Still no 2018 way of using the log crate without `use log::*` everywhere. #[macro_use] extern crate log; -extern crate env_logger; -extern crate mio; -extern crate rustc_serialize; -extern crate slab; -extern crate tokio_codec; -extern crate tokio_core; -extern crate tokio_io; -extern crate ws; use std::sync::mpsc; use std::thread; +use env_logger; + fn main() { match env_logger::init() { Ok(()) => (),