diff --git a/Cargo.toml b/Cargo.toml index 477290c..19b97d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,21 +14,20 @@ description = "An RPC framework for Rust with a focus on ease of use." bincode = "1.0.0-alpha" byteorder = "1.0" cfg-if = "0.1.0" -bytes = "0.3" futures = "0.1.7" lazy_static = "0.2" log = "0.3" -native-tls = { version = "0.1.1", optional = true } -scoped-pool = "1.0" +net2 = "0.2" serde = "0.9" serde_derive = "0.9" tarpc-plugins = { path = "src/plugins" } -take = "0.1" -tokio-service = "0.1" -tokio-proto = "0.1" tokio-core = "0.1" +tokio-proto = "0.1" +tokio-service = "0.1" + +# Optional dependencies +native-tls = { version = "0.1.1", optional = true } tokio-tls = { version = "0.1", optional = true } -net2 = "0.2" [dev-dependencies] chrono = "0.2" diff --git a/src/lib.rs b/src/lib.rs index da44cec..c72da5e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -111,7 +111,6 @@ #![plugin(tarpc_plugins)] extern crate byteorder; -extern crate bytes; #[macro_use] extern crate lazy_static; #[macro_use] @@ -119,7 +118,6 @@ extern crate log; extern crate net2; #[macro_use] extern crate serde_derive; -extern crate take; #[macro_use] extern crate cfg_if; diff --git a/src/plugins/src/lib.rs b/src/plugins/src/lib.rs index 95f22be..99a9eb8 100644 --- a/src/plugins/src/lib.rs +++ b/src/plugins/src/lib.rs @@ -1,7 +1,6 @@ #![feature(plugin_registrar, rustc_private)] extern crate itertools; -extern crate rustc; extern crate rustc_plugin; extern crate syntax;