Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/achanda/ipnetwork

A library to work with CIDRs in rust
https://github.com/achanda/ipnetwork

cargo ip-address ipv4 ipv6 rust

Last synced: 7 days ago
JSON representation

A library to work with CIDRs in rust

Awesome Lists containing this project

README

        

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

[![Build Status](https://travis-ci.org/achanda/ipnetwork.svg?branch=master)](https://travis-ci.org/achanda/ipnetwork)
[![Merit Badge](http://meritbadge.herokuapp.com/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 = "*"
```