Crate transmog_pot

source ·
Expand description

Transmog implementation of the Pot format.

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

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

Re-exports

  • pub use pot;
  • pub use transmog;

Structs

  • Pot implementor of [Format].