krisprice / ipnet

IpNet, Ipv4Net, and Ipv6Net types and methods for Rust
Apache License 2.0
122 stars 26 forks source link

Add mask to prefix conversion #46

Closed stormshield-guillaumed closed 1 year ago

stormshield-guillaumed commented 1 year ago

The mask to prefix conversion is the only feature preventing us from moving from ipnetwork to ipnet. This can be implemented outside of this crate but is nice to have.

krisprice commented 1 year ago

Merged and published. Thanks for this. :-)