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

#129 in Data structures

Download history 3764/week @ 2025-01-07 5660/week @ 2025-01-14 4998/week @ 2025-01-21 3747/week @ 2025-01-28 7493/week @ 2025-02-04 5359/week @ 2025-02-11 6779/week @ 2025-02-18 6275/week @ 2025-02-25 5820/week @ 2025-03-04 8381/week @ 2025-03-11 7610/week @ 2025-03-18 6859/week @ 2025-03-25 7258/week @ 2025-04-01 8833/week @ 2025-04-08 6117/week @ 2025-04-15 6778/week @ 2025-04-22

30,116 downloads per month
Used in 47 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