Crates.io | vectorize |
lib.rs | vectorize |
version | 0.2.0 |
source | src |
created_at | 2021-04-04 09:59:18.27843 |
updated_at | 2021-07-05 08:14:44.943602 |
description | Converts maps to vecs for serialization |
homepage | |
repository | https://github.com/deniskolodin/vectorize |
max_upload_size | |
id | 378709 |
size | 4,436 |
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>,
}