rustybgp icon indicating copy to clipboard operation
rustybgp copied to clipboard

Dependent create treebitmap has been deprecated

Open natesales opened this issue 2 years ago • 3 comments

The treebitmap crate has been deprecated so builds are failing:

$ cargo build --release
    Updating crates.io index
error: no matching package named `treebitmap` found
location searched: registry `crates-io`
required by package `rustybgpd v0.2.0 (/tmp/rustybgp/daemon)`

natesales avatar May 16 '22 05:05 natesales

Thanks, seems that needs to find a substitute. You might know some?

fujita avatar May 16 '22 05:05 fujita

There's a fork https://github.com/JakubOnderka/treebitmap that looks like a drop in replacement with fixes for https://github.com/hroi/treebitmap/issues/13 and https://github.com/hroi/treebitmap/issues/18 from upstream, though I wonder if an alternate generic trie implementation would work better here from an ongoing maintenance perspective?

natesales avatar May 16 '22 05:05 natesales

Not sure. If a generic implementation provides better performance, footprint, etc than an implementation for IP like crit-bit, I would use the generic one.

fujita avatar May 16 '22 11:05 fujita