mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-14 16:26:32 +00:00
27 lines
692 B
Markdown
27 lines
692 B
Markdown
ipnetwork
|
|
===
|
|
This is a library to work with IPv4 and IPv6 CIDRs in Rust
|
|
|
|
[](https://travis-ci.org/achanda/ipnetwork)
|
|
[](https://crates.io/crates/ipnetwork)
|
|
|
|
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`:
|
|
```toml
|
|
[dependencies]
|
|
ipnetwork = "*"
|
|
```
|