mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-19 10:06:44 +00:00
Drop the ip crate
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user