mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-15 08:36:34 +00:00
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ipnetwork"
|
||||
version = "0.5.0"
|
||||
version = "0.4.0"
|
||||
authors = ["Abhishek Chanda <abhishe.becsk@gmail.com>"]
|
||||
description = "A library to work with IP CIDRs in Rust, heavily WIP"
|
||||
license = "Apache-2.0"
|
||||
@ -8,6 +8,7 @@ repository = "https://github.com/achanda/ipnetwork"
|
||||
|
||||
[dependencies]
|
||||
clippy = {version = "0.0.37", optional = true}
|
||||
ip = "1.0.0"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
@ -4,8 +4,12 @@
|
||||
#![crate_type = "lib"]
|
||||
#[allow(dead_code)]
|
||||
|
||||
extern crate ip;
|
||||
|
||||
use std::fmt;
|
||||
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
|
||||
use std::net::{Ipv4Addr, Ipv6Addr};
|
||||
|
||||
use ip::IpAddr;
|
||||
|
||||
// A network
|
||||
#[derive(Debug)]
|
||||
|
Reference in New Issue
Block a user