minicbor-adapters

Crates.iominicbor-adapters
lib.rsminicbor-adapters
version
sourcesrc
created_at2024-12-05 13:53:57.597446+00
updated_at2025-02-23 12:32:10.088927+00
descriptionAdapters between `minicbor` and other crates such as `heapless` and `cboritem`
homepage
repositoryhttps://codeberg.org/chrysn/minicbor-adapters
max_upload_size
id1473225
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(chrysn)

documentation

https://docs.rs/minicbor-adapters

README

minicbor-adapters License: MIT OR Apache-2.0 minicbor-adapters on crates.io minicbor-adapters on docs.rs Source Code Repository

Adapters between minicbor and other crates

Some pairs of types don’t have a clear place to implement with minicbor: Due to the orphan rule, an implementation of minicbor’s traits for a type needs to be implemented either in minicbor itself or in the crate providing the type. As minicbor tries to keep its (even optional) dependency count at a minimum, and other crates can’t be expected to keep up with minicbor’s pace of releases, this crate provides thin wrapper types that provide the implementations.

Versioning

This crate has both minicbor and the related types as public dependencies. It will thus undergo a breaking change when minicbor updates, often lockstepping those to the latest version of the other crates.

Providing implementations for a larger matrix is generally feasilbe by depending on multiple versions of crates, and is sometimes maintainable when the breaking changes don’t affect the implementation (as is often the case with minicbor); nonetheless, this is currently not done for reasons of simplicity.

Commit count: 0

cargo fmt