Open
Description
The serde support of this crate is just plain awesome. I use #[serde(with = "hex::serde")]
all the time. However, I just ran into the situation where I want a Vec<Vec<u8>>
to be encoded as a list of hex strings. This is a lot less straightforward to implement, sadly.
To make this more ergonomic, I suggest adding a serialization wrapper newtype that I may use instead of serde_with
. I could then write something like Vec<HexBytes>
or Vec<Hex<Vec<u8>>>
and it would just work.