Drop the ip crate

This commit is contained in:
Abhishek Chanda
2016-03-19 11:12:01 -07:00
parent 6c33091dc3
commit e812eb66ca
2 changed files with 2 additions and 7 deletions

View File

@ -4,14 +4,10 @@
#![crate_type = "lib"]
#[allow(dead_code)]
extern crate ip;
use std::fmt;
use std::net::{Ipv4Addr, Ipv6Addr};
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
use std::str::FromStr;
use ip::IpAddr;
const IPV4_BITS: u8 = 32;
const IPV6_BITS: u8 = 128;