mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-15 00:26:33 +00:00
9921661ebe89e07164299fb4a1fb30723a9c70cc

This function is commonly called in a loop (or iterator). Inlining it makes it run faster, which is beneficial in this case.
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 = "*"
Description
Languages
Rust
100%