Skip to content

Releases: bgpkit/ipnet-trie

v0.2.0

12 Sep 02:37
166061b
Compare
Choose a tag to compare

Highlights

  • implement std::error::Error for IpnetTrieError
    • it should work with ? operator for anyhow now
  • 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 returns Option<&V> instead of Option<V>
  • longest_match_ipv6 now accepts &Ipv6Net and returns Option<&V> instead of Option<V>
  • removes matches_mut, matches_ipv4_mut, and matches_ipv6_mut methods

v0.2.0-beta.2

01 May 23:59
582adc1
Compare
Choose a tag to compare
v0.2.0-beta.2 Pre-release
Pre-release

Highlights

  • implement std::error::Error for IpnetTrieError
    • it should work with ? operator for anyhow now

v0.2.0-beta.1

21 Feb 01:49
a5171f3
Compare
Choose a tag to compare
v0.2.0-beta.1 Pre-release
Pre-release

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 returns Option<&V> instead of Option<V>
  • longest_match_ipv6 now accepts &Ipv6Net and returns Option<&V> instead of Option<V>
  • removes matches_mut, matches_ipv4_mut, and matches_ipv6_mut methods

V0.1.0

16 Jan 01:24
4125981
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/bgpkit/ipnet-trie/commits/v0.1.0