Updated dependencies, removed unused imports

This commit is contained in:
Dennis Schwerdel 2016-05-25 09:56:41 +02:00
parent 2119bbcae5
commit 9fcb89bba8
5 changed files with 5 additions and 9 deletions

8
Cargo.lock generated
View File

@ -56,7 +56,7 @@ name = "docopt"
version = "0.6.80" version = "0.6.80"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"regex 0.1.69 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.71 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
"strsim 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "strsim 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
@ -167,19 +167,19 @@ dependencies = [
[[package]] [[package]]
name = "regex" name = "regex"
version = "0.1.69" version = "0.1.71"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"aho-corasick 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "aho-corasick 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", "memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
"regex-syntax 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "regex-syntax 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"thread_local 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "thread_local 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
"utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "regex-syntax" name = "regex-syntax"
version = "0.3.1" version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]

View File

@ -22,7 +22,7 @@ libc = "0.2"
aligned_alloc = "0.1" aligned_alloc = "0.1"
rand = "0.3" rand = "0.3"
fnv = "1" fnv = "1"
net2 = "*" net2 = "0.2"
[build-dependencies] [build-dependencies]
gcc = "0.3" gcc = "0.3"

View File

@ -4,9 +4,7 @@
use std::net::{SocketAddr, ToSocketAddrs}; use std::net::{SocketAddr, ToSocketAddrs};
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};
use std::hash::Hasher;
use std::net::UdpSocket; use std::net::UdpSocket;
use std::io::Read;
use std::io::Result as IoResult; use std::io::Result as IoResult;
use std::fmt; use std::fmt;
use std::os::unix::io::AsRawFd; use std::os::unix::io::AsRawFd;

View File

@ -4,7 +4,6 @@
use std::net::SocketAddr; use std::net::SocketAddr;
use std::collections::{hash_map, HashMap}; use std::collections::{hash_map, HashMap};
use std::io::Read;
use std::hash::BuildHasherDefault; use std::hash::BuildHasherDefault;
use fnv::FnvHasher; use fnv::FnvHasher;

View File

@ -3,7 +3,6 @@
// This software is licensed under GPL-3 or newer (see LICENSE.md) // This software is licensed under GPL-3 or newer (see LICENSE.md)
use std::net::{SocketAddr, Ipv4Addr, Ipv6Addr}; use std::net::{SocketAddr, Ipv4Addr, Ipv6Addr};
use std::hash::Hasher;
use std::fmt; use std::fmt;
use std::str::FromStr; use std::str::FromStr;