Expand description
Module that helps to encode ProtocolEncoding objects with serde.
By default, the objects will be encoded as bytes for regular serializers, and as hex for human-readable serializers.
Can be used as follows:
#[derive(Serialize, Deserialize)]
struct SomeStruct {
#[serde(with = "ark::encode::serde")]
single: Vtxo,
#[serde(with = "ark::encode::serde::vec")]
multiple: Vec<Vtxo>,
}