miden-serde-utils

Crates.iomiden-serde-utils
lib.rsmiden-serde-utils
version0.21.4
created_at2025-12-29 01:15:56.353717+00
updated_at2026-01-23 22:28:28.517851+00
descriptionSerialization/deserialization utilities for Miden
homepage
repositoryhttps://github.com/0xMiden/crypto
max_upload_size
id2009738
size90,862
Bobbin Threadbare (bobbinth)

documentation

https://docs.rs/miden-serde-utils

README

Miden Serialization Utilities

This crate provides serialization and deserialization utilities for Miden projects.

Features

  • ByteReader trait for reading primitive values from byte sources
  • ByteWriter trait for writing primitive values to byte sinks
  • Serializable and Deserializable traits for custom types
  • Support for both std and no_std environments

Crate Features

  • std - enabled by default; enables standard library support
  • winter-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 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.

Commit count: 722

cargo fmt