tbon

Crates.iotbon
lib.rstbon
version0.6.0
sourcesrc
created_at2021-03-22 20:42:10.978163
updated_at2024-08-13 22:51:45.360521
descriptionTinyChain Binary Object Notation is a compact and versatile stream-friendly binary serialization format
homepage
repositoryhttps://github.com/haydnv/tbon
max_upload_size
id372293
size75,899
Haydn Vestal (haydnv)

documentation

README

Tinychain Binary Object Notation

Tinychain Binary Object Notation (TBON) is a compact and versatile stream-friendly binary serialization format.

Example:

let expected = ("one".to_string(), 2.0, vec![3, 4], Bytes::from(vec![5u8]));
let stream = tbon::en::encode(&expected).unwrap();
let actual = tbon::de::try_decode((), stream).await.unwrap();
assert_eq!(expected, actual);
Commit count: 41

cargo fmt