46 releases
| 0.21.1 | Jan 7, 2025 |
|---|---|
| 0.20.0 | Jul 1, 2022 |
| 0.18.0 | Apr 13, 2021 |
| 0.17.0 | Jul 13, 2020 |
| 0.1.10 | May 5, 2015 |
#20 in Network programming
2,576,085 downloads per month
Used in 718 crates
(191 directly)
73KB
1.5K
SLoC
The ipnetwork crate provides a set of APIs to work with IP CIDRs in
Rust.
ipnetwork
This is a library to work with IPv4 and IPv6 CIDRs in Rust
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 = "*"
Dependencies
~0–335KB