vectorize

Crates.iovectorize
lib.rsvectorize
version0.2.0
sourcesrc
created_at2021-04-04 09:59:18.27843
updated_at2021-07-05 08:14:44.943602
descriptionConverts maps to vecs for serialization
homepage
repositoryhttps://github.com/deniskolodin/vectorize
max_upload_size
id378709
size4,436
Denis Kolodin (therustmonk)

documentation

README

vectorize

Converts maps to vecs for serialization.

Usage:


#[derive(Deserialize, Serialize)]
struct MyStruct {
    ordinary_field: String,
    #[serde(with = "vectorize")]
    no_string_key_map: HashMap<(u8, bool, String), String>,
}

Commit count: 7

cargo fmt