achanda/ipnetwork

A library to work with CIDRs in rust

Rust

146

330 commits

updated May 23, 2026

See the code

README

ipnetwork

This is a library to work with IPv4 and IPv6 CIDRs in Rust

Build Status Merit Badge

Run Clippy by doing

rustup component add clippy
cargo clippy

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 = "*"
cargo
ip-address
ipv4
ipv6
rust

achanda/ipnetwork

A library to work with CIDRs in rust

Rust

146

330 commits

updated May 23, 2026

See the code

README

ipnetwork

This is a library to work with IPv4 and IPv6 CIDRs in Rust

Build Status Merit Badge

Run Clippy by doing

rustup component add clippy
cargo clippy

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 = "*"
cargo
ip-address
ipv4
ipv6
rust

Languages

Rust

100.0%