7 releases

0.3.0 Jan 18, 2024
0.3.0-rc0 Jan 10, 2024
0.3.0-pre.1 Jun 30, 2022
0.3.0-dev Nov 12, 2021
0.1.0 Jul 8, 2021

#1134 in Network programming

Download history 44/week @ 2023-12-16 161/week @ 2024-01-06 192/week @ 2024-01-13 1/week @ 2024-01-20 56/week @ 2024-02-03 15/week @ 2024-02-10 148/week @ 2024-02-17 256/week @ 2024-02-24 64/week @ 2024-03-02 67/week @ 2024-03-09 26/week @ 2024-03-16 78/week @ 2024-03-23 75/week @ 2024-03-30

247 downloads per month
Used in 2 crates

BSD-3-Clause

7MB
8K SLoC

rotonda-store

In-memory IP prefixes storage and retrieval. Part of the Rotonda modular BGP engine.

A rotonda-store is a data structure that stores both IPv4 and IPv6 prefixes together with arbitrary meta-data in a tree-bitmap[^1]. The tree-bitmap allows for fast querying of IP prefixes and their more- and less-specific prefixes.

This crate provides a data-structure intended for single-threaded use, and a data-structure for multi-threaded use.

[^1]: Read more about the data-structure in this blog post.


lib.rs:

A treebitmap based Prefix Store IP prefixes storage and retrieval data structures for IPv4 and IPv6 prefixes. This crate contains structures for both single and multi-threaded contexts, as well as async contexts.

The underlying tree structure is based on the tree bitmap as outlined in this paper.

Part of the (upcoming) Rotonda modular BGP engine. Read more about the data-structure in this blog post.

Dependencies

~3.5–5.5MB
~93K SLoC