A library to work with CIDRs in rust
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Use from casts in some more places Nov 26, 2018
tests remove serde feature flag Apr 18, 2018
.gitignore ignore .idea/ folder Apr 17, 2018
.travis.yml Remove the feature flag for 128 bit integers May 12, 2018
LICENSE.md Create LICENSE.md Apr 24, 2015
README.md Docs update Dec 21, 2016



This is a library to work with IPv4 and v6 CIDRs in rust The IPv4 implementation is stable, IPv6 implementation is not done yet.

Build Status Merit Badge

Run Clippy by doing

cargo test --features "dev"


This crate works with Cargo. Assuming you have Rust and Cargo installed, simply check out the source and run tests:

git clone https://github.com/achanda/ipnetwork
cd ipnetwork
cargo test

You can also add ipnetwork as a dependency to your project's Cargo.toml:

ipnetwork = "*"