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

#174 in Data structures

Download history 3017/week @ 2024-11-18 3500/week @ 2024-11-25 2956/week @ 2024-12-02 2484/week @ 2024-12-09 3070/week @ 2024-12-16 2293/week @ 2024-12-23 2569/week @ 2024-12-30 3663/week @ 2025-01-06 4914/week @ 2025-01-13 5717/week @ 2025-01-20 3982/week @ 2025-01-27 6699/week @ 2025-02-03 5934/week @ 2025-02-10 6312/week @ 2025-02-17 6161/week @ 2025-02-24 5308/week @ 2025-03-03

24,594 downloads per month
Used in 62 crates (3 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