2 个不稳定版本

0.2.0 2021年7月5日
0.1.0 2021年4月4日

1177编码

Download history 531/week @ 2024-04-07 313/week @ 2024-04-14 345/week @ 2024-04-21 195/week @ 2024-04-28 149/week @ 2024-05-05 278/week @ 2024-05-12 290/week @ 2024-05-19 352/week @ 2024-05-26 246/week @ 2024-06-02 173/week @ 2024-06-09 459/week @ 2024-06-16 194/week @ 2024-06-23 169/week @ 2024-06-30 232/week @ 2024-07-07 333/week @ 2024-07-14 192/week @ 2024-07-21

935 每月下载次数
用于 25 个crate (9 直接)

MIT 许可证

5KB
87

vectorize

将映射转换为向量以进行序列化。

使用方法


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

依赖

~110–355KB