From 2d35345c5060904cf9db9eb845047db34c9442e6 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Sat, 18 Aug 2018 23:11:03 -0600 Subject: [PATCH] Boot unused creates --- Cargo.toml | 4 ---- src/bank.rs | 2 -- src/bin/drone.rs | 1 - src/lib.rs | 1 - src/nat.rs | 3 --- 5 files changed, 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5c41ba8fb..ae911f0ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,6 @@ chrono = { version = "0.4.0", features = ["serde"] } clap = "2.31" dirs = "1.0.2" env_logger = "0.5.12" -futures = "0.1.21" generic-array = { version = "0.11.1", default-features = false, features = ["serde"] } getopts = "0.2" influx_db_client = "0.3.4" @@ -79,7 +78,6 @@ jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc", rev = "4486300" jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc", rev = "4486300" } jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc", rev = "4486300" } itertools = "0.7.8" -libc = "0.2.1" log = "0.4.2" matches = "0.1.6" pnet_datalink = "0.21.0" @@ -94,8 +92,6 @@ serde_json = "1.0.10" sys-info = "0.5.6" tokio = "0.1" tokio-codec = "0.1" -tokio-core = "0.1.17" -tokio-io = "0.1" untrusted = "0.6.2" [dev-dependencies] diff --git a/src/bank.rs b/src/bank.rs index 0e5fd4fea..e96b8f0bc 100755 --- a/src/bank.rs +++ b/src/bank.rs @@ -3,8 +3,6 @@ //! on behalf of the caller, and a low-level API for when they have //! already been signed and verified. -extern crate libc; - use chrono::prelude::*; use counter::Counter; use entry::Entry; diff --git a/src/bin/drone.rs b/src/bin/drone.rs index 7737777b6..4cfb284e9 100644 --- a/src/bin/drone.rs +++ b/src/bin/drone.rs @@ -5,7 +5,6 @@ extern crate serde_json; extern crate solana; extern crate tokio; extern crate tokio_codec; -extern crate tokio_io; use bincode::deserialize; use clap::{App, Arg}; diff --git a/src/lib.rs b/src/lib.rs index 44f706a14..0384edb73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -68,7 +68,6 @@ extern crate jsonrpc_core; #[macro_use] extern crate jsonrpc_macros; extern crate jsonrpc_http_server; -extern crate libc; #[macro_use] extern crate log; extern crate rayon; diff --git a/src/nat.rs b/src/nat.rs index 45708400a..50bbe4880 100644 --- a/src/nat.rs +++ b/src/nat.rs @@ -1,9 +1,6 @@ //! The `nat` module assists with NAT traversal -extern crate futures; -extern crate rand; extern crate reqwest; -extern crate tokio_core; use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket};