19 releases (8 breaking)

0.9.2 Feb 22, 2025
0.9.0 Jan 13, 2025
0.8.1 Dec 6, 2024
0.8.0 Nov 28, 2024
0.1.2 Mar 18, 2024

#120 in Data structures

Download history 4514/week @ 2025-01-29 7080/week @ 2025-02-05 5369/week @ 2025-02-12 7021/week @ 2025-02-19 5992/week @ 2025-02-26 6806/week @ 2025-03-05 7865/week @ 2025-03-12 7156/week @ 2025-03-19 7059/week @ 2025-03-26 8287/week @ 2025-04-02 7780/week @ 2025-04-09 6432/week @ 2025-04-16 7916/week @ 2025-04-23 7141/week @ 2025-04-30 9487/week @ 2025-05-07 8301/week @ 2025-05-14

34,127 downloads per month
Used in 64 crates (4 directly)

Apache-2.0

1MB
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