Use Rust 2018 Edition
This commit is contained in:
parent
87eaed9c82
commit
eb5d206dd9
4 changed files with 4 additions and 18 deletions
|
@ -2,6 +2,7 @@
|
|||
name = "webmetro"
|
||||
version = "0.2.0"
|
||||
authors = ["Tangent 128 <Tangent128@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
bytes = "0.4.10"
|
||||
|
|
|
@ -24,7 +24,8 @@ use hyper::{
|
|||
};
|
||||
use warp::{
|
||||
self,
|
||||
Filter
|
||||
Filter,
|
||||
path
|
||||
};
|
||||
use weak_table::{
|
||||
WeakValueHashMap
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
|
||||
extern crate bytes;
|
||||
extern crate futures;
|
||||
extern crate odds;
|
||||
extern crate tokio;
|
||||
|
||||
pub mod ebml;
|
||||
pub mod error;
|
||||
pub mod iterator;
|
||||
|
|
13
src/main.rs
13
src/main.rs
|
@ -1,18 +1,7 @@
|
|||
extern crate bytes;
|
||||
#[macro_use] extern crate clap;
|
||||
extern crate futures;
|
||||
extern crate http;
|
||||
extern crate hyper;
|
||||
extern crate tokio;
|
||||
extern crate tokio_codec;
|
||||
extern crate tokio_io;
|
||||
#[macro_use] extern crate warp;
|
||||
extern crate weak_table;
|
||||
extern crate webmetro;
|
||||
|
||||
mod commands;
|
||||
|
||||
use clap::{App, AppSettings};
|
||||
use clap::{App, AppSettings, crate_version};
|
||||
|
||||
use crate::commands::{
|
||||
relay,
|
||||
|
|
Loading…
Reference in a new issue