16 releases (7 breaking)

new 0.8.1 Dec 6, 2024
0.8.0 Nov 28, 2024
0.7.0 Oct 28, 2024
0.4.0 Jul 4, 2024
0.1.2 Mar 18, 2024

#303 in Data structures

Download history 1743/week @ 2024-08-17 1404/week @ 2024-08-24 1740/week @ 2024-08-31 1690/week @ 2024-09-07 1734/week @ 2024-09-14 1529/week @ 2024-09-21 2152/week @ 2024-09-28 1309/week @ 2024-10-05 1564/week @ 2024-10-12 2057/week @ 2024-10-19 1692/week @ 2024-10-26 1415/week @ 2024-11-02 1798/week @ 2024-11-09 3007/week @ 2024-11-16 3577/week @ 2024-11-23 3393/week @ 2024-11-30

11,933 downloads per month
Used in 44 crates (3 directly)

Apache-2.0

1MB
4.5K SLoC

vart: Versioned Adaptive Radix Trie for Rust

vart is a Rust library that implements an immutable Versioned Adaptive Radix Trie data structure. It allows you to efficiently manage key-value pairs with multiple versions and timestamps, making it a useful datastructure for applications that require tracking changes over time and enabling snapshot reads. With vart, you can handle versioned data, insert, delete, and query key-value items based on specific versions.

License

Features

  • Immutable: Built on an immutable radix trie data structure employing copy-on-write semantics. This design allows for the storage and retrieval of multiple versions of the same key.

  • Version Tracking: Track modifications to the key and manage multiple versions of the same key within the data structure.

  • Snapshot Reads: Capture the current state of the trie and create immutable snapshots, allowing for point-in-time views of the data.

No runtime deps