| Crates.io | miden-serde-utils |
| lib.rs | miden-serde-utils |
| version | 0.21.4 |
| created_at | 2025-12-29 01:15:56.353717+00 |
| updated_at | 2026-01-23 22:28:28.517851+00 |
| description | Serialization/deserialization utilities for Miden |
| homepage | |
| repository | https://github.com/0xMiden/crypto |
| max_upload_size | |
| id | 2009738 |
| size | 90,862 |
This crate provides serialization and deserialization utilities for Miden projects.
ByteReader trait for reading primitive values from byte sourcesByteWriter trait for writing primitive values to byte sinksSerializable and Deserializable traits for custom typesstd and no_std environmentsstd - enabled by default; enables standard library supportwinter-compat - provides Serializable and Deserializable implementations for types from the winter-math and winter-utils crates (specifically for Felt field 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 interfaceAny 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.