3 releases (breaking)
| 0.3.0 | Mar 23, 2026 |
|---|---|
| 0.2.0 | Mar 11, 2025 |
| 0.1.0 | Mar 3, 2025 |
#1829 in Data structures
Used in langram_train
27KB
357 lines
Rust Map based on Vec for serialization purposes
Made mainly for deserialization speedup, because deserializing to an actual HashMap is a lot slower. It also saves the original order of the data.
Usage examples: to deserialize and then .into_iter(); or to transfer data between different storages.
Also it has a trait SerdeMapStrategy, which helps to process data (currently only keys) at the serializing/deserializing stage, before saving to the inner Vec (example in docs).
Dependencies
~0.1–15MB
~129K SLoC