achanda / ipnetwork

A library to work with CIDRs in rust
Apache License 2.0
121 stars 38 forks source link

Add `Ipv6Network::nth` to get the nth address #159

Closed joshtriplett closed 1 year ago

joshtriplett commented 2 years ago

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

Fixes #146

achanda commented 2 years ago

Thanks, @joshtriplett. Will it be possible for you to add a few tests for this like we have here?

ctrlcctrlv commented 1 year ago

Superseded by #176.