miden-serde-utils 0.36.1

Serialization/deserialization utilities for the Miden project
docs.rs failed to build miden-serde-utils-0.36.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: miden-serde-utils-0.36.2

Miden Serialization Utilities

This crate provides serialization and deserialization utilities for the Miden projects.

Features

  • Serializable and Deserializable traits for custom types.
  • ByteWriter trait for writing primitive values to byte sinks.
  • ByteReader trait for reading primitive values from byte sources.
  • SliceReader struct - a reader implementation for reading Deserializable from a slice of bytes.
  • BudgetedReader struct - a reader implementation that enforces a byte budget during deserialization.
  • deserialize_schema_exact for rejecting trailing bytes after schema-based decoding.
  • Support for both std and no_std environments.

Crate Features

  • std - enabled by default; enables standard library support.

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.