Revert "Use the ip crate"

This reverts commit 5f84d3a817.
This commit is contained in:
Abhishek Chanda
2016-02-12 00:55:11 -08:00
parent af1cc62950
commit d5422c0fd7
2 changed files with 3 additions and 7 deletions

View File

@ -2,14 +2,11 @@
#![cfg_attr(feature = "dev", feature(plugin))]
#![cfg_attr(feature = "dev", plugin(clippy))]
#![crate_type = "lib"]
#![feature(ip_addr)]
#[allow(dead_code)]
extern crate ip;
use std::fmt;
use std::net::{Ipv4Addr, Ipv6Addr};
use ip::IpAddr;
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
// A network
#[derive(Debug)]