Use Rust 2018 Edition

This commit is contained in:
Tangent 128 2018-12-22 15:07:38 -05:00
parent 87eaed9c82
commit eb5d206dd9
4 changed files with 4 additions and 18 deletions

View File

@ -2,6 +2,7 @@
name = "webmetro"
version = "0.2.0"
authors = ["Tangent 128 <Tangent128@gmail.com>"]
edition = "2018"
[dependencies]
bytes = "0.4.10"

View File

@ -24,7 +24,8 @@ use hyper::{
};
use warp::{
self,
Filter
Filter,
path
};
use weak_table::{
WeakValueHashMap

View File

@ -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;

View File

@ -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,