Luca BRUNO 152f1a8393 ipnetwork: add netmask constructors
This adds constructors to build all network types from a network
address and network mask pair.
2019-11-27 17:20:59 +00:00
2019-10-12 16:17:29 +01:00
2019-11-27 15:50:47 +00:00
2019-11-27 17:20:59 +00:00
2019-03-25 15:24:17 +01:00
2018-04-16 19:22:54 -05:00
2019-11-23 13:48:22 +00:00
2015-04-24 14:59:56 -07:00
2016-12-21 17:56:17 +00:00

ipnetwork

This is a library to work with IPv4 and v6 CIDRs in rust The IPv4 implementation is stable, IPv6 implementation is not done yet.

Build Status Merit Badge

Run Clippy by doing

cargo test --features "dev"

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
No description provided
Readme 594 KiB
Languages
Rust 100%