Browse Source

Remove unnecessary extern crate declarations.

wip
Titouan Rigoudy 6 years ago
parent
commit
1b43b92c5b
1 changed files with 3 additions and 14 deletions
  1. +3
    -14
      src/main.rs

+ 3
- 14
src/main.rs View File

@ -5,26 +5,15 @@ mod proto;
mod room; mod room;
mod user; 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] #[macro_use]
extern crate log; 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::sync::mpsc;
use std::thread; use std::thread;
use env_logger;
fn main() { fn main() {
match env_logger::init() { match env_logger::init() {
Ok(()) => (), Ok(()) => (),


Loading…
Cancel
Save