2 unstable releases

0.2.0 Jul 5, 2021
0.1.0 Apr 4, 2021

#1276 in Encoding

Download history 340/week @ 2024-09-25 356/week @ 2024-10-02 195/week @ 2024-10-09 304/week @ 2024-10-16 256/week @ 2024-10-23 174/week @ 2024-10-30 422/week @ 2024-11-06 380/week @ 2024-11-13 238/week @ 2024-11-20 246/week @ 2024-11-27 626/week @ 2024-12-04 658/week @ 2024-12-11 408/week @ 2024-12-18 79/week @ 2024-12-25 431/week @ 2025-01-01 1180/week @ 2025-01-08

2,215 downloads per month
Used in 25 crates (9 directly)

MIT license

5KB
87 lines

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>,
}

Dependencies

~100–325KB