Crates.io | transmog-pot |
lib.rs | transmog-pot |
version | 0.3.0 |
source | src |
created_at | 2021-12-29 18:05:52.19285 |
updated_at | 2023-08-24 17:09:41.630843 |
description | Pot adaptor for Transmog |
homepage | |
repository | https://github.com/khonsulabs/transmog |
max_upload_size | |
id | 504957 |
size | 9,312 |
Transmog implementation of the Pot format.
This crate provides a Format
trait implementation using the Pot
type:
use transmog::{Format, OwnedDeserializer};
use transmog_pot::Pot;
let pot = Pot::default();
let serialized = pot.serialize(&42_u64).unwrap();
let deserialized: u64 = pot.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.