From 342c711bad3b1ad45c4bc24d9a6430cf242e5041 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Thu, 2 Jan 2020 01:04:00 +0900 Subject: [PATCH] Make crate 2018 edition --- Cargo.toml | 1 + src/lib.rs | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3a931f218..f2e1bb7ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "actix-protobuf" version = "0.4.1" +edition = "2018" authors = ["kingxsp "] description = "Protobuf support for actix-web framework." readme = "README.md" diff --git a/src/lib.rs b/src/lib.rs index f8bb3317a..ee6648242 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,17 +1,3 @@ -extern crate actix; -extern crate actix_web; -extern crate bytes; -extern crate derive_more; -extern crate futures; - -#[cfg(test)] -extern crate http; - -extern crate prost; -#[cfg(test)] -#[macro_use] -extern crate prost_derive; - use derive_more::Display; use std::fmt; use std::ops::{Deref, DerefMut};