Transmog implementation of the CBOR format, powered by the Ciborium crate.
This crate provides a Format
trait implementation using the Cbor
type:
```rust use transmog::{Format, OwnedDeserializer}; use transmog_cbor::Cbor;
let cbor = Cbor::default(); let serialized = cbor.serialize(&42u64).unwrap(); let deserialized: u64 = cbor.deserializeowned(&serialized).unwrap(); assert_eq!(deserialized, 42); ```
This project, like all projects from Khonsu Labs, are open-source. This repository is available under the MIT License or the Apache License 2.0.
To learn more about contributing, please see CONTRIBUTING.md.