#network #ip #address

ipnetwork

A library to work with IP CIDRs in Rust, heavily WIP

34 releases

0.12.8 Mar 15, 2018
0.12.7 Sep 7, 2017
0.12.6 Jul 11, 2017
0.12.2 Feb 23, 2017
0.1.10 May 5, 2015

#9 in Network programming

Download history 1100/week @ 2018-05-27 1914/week @ 2018-06-03 1925/week @ 2018-06-10 1756/week @ 2018-06-17 1717/week @ 2018-06-24 2484/week @ 2018-07-01 1983/week @ 2018-07-08 2249/week @ 2018-07-15 1797/week @ 2018-07-22 1390/week @ 2018-07-29 1811/week @ 2018-08-05 1793/week @ 2018-08-12 979/week @ 2018-08-19

5,598 downloads per month

ipnetwork

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"

Installation

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:

[dependencies]
ipnetwork = "*"

lib.rs:

The ipnetwork crate provides a set of APIs to work with IP CIDRs in Rust. Implementation for IPv4 is more or less stable, IPv6 implementation is still WIP.

Apache-2.0 license

Dependencies

Reverse deps