Releases: stbuehler/rust-cidr
Releases · stbuehler/rust-cidr
cidr 0.3.0
0.3.0 - 2024-09-30
- remove short IPv4 address support in
FromStrimplementations - implement
From<Ip*Addr>for cidr and inet types - remove
stdrequirement - bothnetanderrornow incore - move to bitstring 0.2
cidr 0.2.3
0.2.3 - 2024-06-25
parsersmodule:inet_addrcompatible parser- parser combinators to build custom parsing
- "short IPv4 address" parser (incompatible with
inet_addr).
- short IPv4 address support in
FromStrimplementations is deprecated and
going to be removed in 0.3.0 no_unsafefeature to use safe but slower fallbacksoverflowing_addandoverflowing_submethods onInettypes
cidr 0.2.2
0.2.2 - 2023-06-25
- Make all functions const if possible
cidr 0.2.1
0.2.1 - 2021-10-08
- Fix major problems in the
BitStringtrait implementation forAnyIpCidr
cidr 0.2.0
Added
- Implement
IntoIteratorforIpCidrstructs - Support (and require) various default traits
InetPair: pair of two addresses in the same network- Implement "trait" functions directly on data types and only forward in trait impl (#6); this makes it easier to use datastructs without traits in scope.
Changed
- Made
bitstringdependency optional. Usecidr = { version = "0.2.0", features = [ "bitstring" ] }to enable it. - Removed
serdefrom default features. Usecidr = { version = "0.2.0", features = [ "serde" ] }to enable it. - Added
stdfeature; enabled by default. Also mandatory for now asstd::netisn't available incore. - Seal trait implementations
- Renamed
Inet::nexttoInet::increment - Iterators (on
IpCidrstructs) now returnInetitems instead of flat addresses. Use.addresses()on the iterator type to only iterate over the addresses.