transmog-cbor

Crates.iotransmog-cbor
lib.rstransmog-cbor
version0.1.0
sourcesrc
created_at2021-12-29 17:54:05.374455
updated_at2022-02-04 22:50:31.803128
descriptionCBOR adaptor for Transmog
homepage
repositoryhttps://github.com/khonsulabs/transmog
max_upload_size
id504951
size8,425
Publishers (github:khonsulabs:publishers)

documentation

README

transmog-cbor

Transmog implementation of the CBOR format, powered by the Ciborium crate.

transmog-cbor forbids unsafe code crate version Documentation for main branch

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);

Open-source Licenses

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.

Commit count: 39

cargo fmt