Miden Serialization Utilities
This crate provides serialization and deserialization utilities for Miden projects.
Features
ByteReadertrait for reading primitive values from byte sourcesByteWritertrait for writing primitive values to byte sinksSerializableandDeserializabletraits for custom types- Support for both
stdandno_stdenvironments
Crate Features
std- enabled by default; enables standard library supportwinter-compat- providesSerializableandDeserializableimplementations for types from thewinter-mathandwinter-utilscrates (specifically forFeltfield elements). This feature exists to work around Rust's orphan rule, which prevents implementing external traits on external types. By implementing these traits in this intermediate crate, both Miden and Winter ecosystem crates can use a common serialization interface
License
Any contribution intentionally submitted for inclusion in this repository, as defined in the Apache-2.0 license, shall be dual licensed under the MIT and Apache 2.0 licenses, without any additional terms or conditions.