| Crates.io | transmog-cbor |
| lib.rs | transmog-cbor |
| version | 0.1.0 |
| created_at | 2021-12-29 17:54:05.374455+00 |
| updated_at | 2022-02-04 22:50:31.803128+00 |
| description | CBOR adaptor for Transmog |
| homepage | |
| repository | https://github.com/khonsulabs/transmog |
| max_upload_size | |
| id | 504951 |
| size | 8,425 |
Transmog implementation of the CBOR format, powered by the Ciborium crate.
This crate provides a Format trait implementation using the Cbor type:
use transmog::{Format, OwnedDeserializer};
use transmog_cbor::Cbor;
let cbor = Cbor::default();
let serialized = cbor.serialize(&42_u64).unwrap();
let deserialized: u64 = cbor.deserialize_owned(&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.