Expand description
§Compat shim to serialize/deserialize values from the ark ecosystem with serde
The arkworks-rs ecosystem provides serialization features via its ark-serialize crate. This crate adds shims to serialize and deserialize all types of arkworks-rs that implement the traits from ark-serialize with serde.
§License
This crate is licensed under Apache-2.0 or the MIT license.
§Usage
This crate is intended to be used with serde’s #[serde(serialize_with = "ark_serde_compat")], #[serde(deserialize_with = "ark_serde_compat")], and #[serde(with = "ark_serde_compat")]. Please see serde’s documentation on how to use these attributes.
Re-exports§
pub use compressed::deserialize;pub use compressed::serialize;
Modules§
- compressed
- Serialize and deserialize to and from compressed representations.
- uncompressed
- Serialize and deserialize to and from uncompressed representations.
- vec
- Serialize and deserialize vectors of serializable values.