Releases: bgpkit/ipnet-trie
Releases · bgpkit/ipnet-trie
v0.2.0
Highlights
- implement
std::error::Error
forIpnetTrieError
- it should work with
?
operator foranyhow
now
- it should work with
- switch to
[prefix-trie](https://crates.io/crates/prefix-trie)
as the default prefix trie implementation - improve
ip_count
implementation based on clone and sub-tree removal - implement
diff
function to compare two ipnet-trie structs' content
Breaking Changes
- remove
with_capacity
method longest_match_ipv4
now accepts&Ipv4Net
and returnsOption<&V>
instead ofOption<V>
longest_match_ipv6
now accepts&Ipv6Net
and returnsOption<&V>
instead ofOption<V>
- removes
matches_mut
,matches_ipv4_mut
, andmatches_ipv6_mut
methods
v0.2.0-beta.2
Highlights
- implement
std::error::Error
forIpnetTrieError
- it should work with
?
operator foranyhow
now
- it should work with
v0.2.0-beta.1
Highlights
- switch to
prefix-trie
as the default prefix trie implementation - improve
ip_count
implementation based on clone and sub-tree removal - implement
diff
function to compare two ipnet-trie structs' content
Breaking Changes
- remove
with_capacity
method longest_match_ipv4
now accepts&Ipv4Net
and returnsOption<&V>
instead ofOption<V>
longest_match_ipv6
now accepts&Ipv6Net
and returnsOption<&V>
instead ofOption<V>
- removes
matches_mut
,matches_ipv4_mut
, andmatches_ipv6_mut
methods