I've got a hash type (a wrapper around [u8; 16]
) and would like to have a Serialize
implementation that serializes e.g. in json as a hex string, but serializes in binary in formats that support it. Is there any solution for this?
Awesome, thanks!