Fredrick Brennan 1bd937e90c Add Ipv6Network::nth to get the nth address (take two) (#176)
* Add `Ipv6Network::nth` to get the nth address

Works the same as `Ipv4Network::nth`, but using a `u128` index instead
of `u32`.

* add IpNetwork v6 nth test

---------

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
2023-06-13 21:17:39 -05:00
2018-04-16 19:22:54 -05:00
2019-12-11 12:51:39 +01:00
2020-02-26 13:47:18 +00:00
2020-02-26 13:47:18 +00:00
2020-06-06 14:48:15 +02:00
2023-04-23 15:04:05 -05:00

ipnetwork

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

Build Status Merit Badge

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