serde_map

Crates.ioserde_map
lib.rsserde_map
version0.2.0
created_at2025-03-03 12:19:40.977044+00
updated_at2025-03-11 22:09:33.266722+00
description`Map` based on `Vec` for serialization purposes
homepage
repositoryhttps://github.com/RoDmitry/serde_map
max_upload_size
id1575503
size84,745
Dmitry Rodionov (RoDmitry)

documentation

https://docs.rs/serde_map/

README

Rust Map based on Vec for serialization purposes

Crate API

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).

Commit count: 5

cargo fmt