3Hren / msgpack-rust

MessagePack implementation for Rust / msgpack.org[Rust]
MIT License
1.17k stars 130 forks source link

Serializing HashMap<Vec<u8>,rmpv::Value> #322

Open bobi6666 opened 1 year ago

bobi6666 commented 1 year ago

hello, I would like to ask if any of you could help me write a serializer for HashMap<Vec<u8,rmpv::Value>? because when I use .to_vec() it stores keys as a list of ints and this is not good or backwards compatible

kornelski commented 1 year ago

What should it do? Are you looking for https://lib.rs/crates/serde_bytes perhaps?