channels-serdes

Crates.iochannels-serdes
lib.rschannels-serdes
version0.2.1
sourcesrc
created_at2023-12-29 12:14:45.267767
updated_at2024-06-29 09:22:56.388026
descriptionUtilities to serialize/deserialize types.
homepagehttps://github.com/threadexio/channels-rs
repositoryhttps://github.com/threadexio/channels-rs
max_upload_size
id1083309
size29,076
1337 (threadexio)

documentation

https://docs.rs/channels-serdes

README

channels-serdes

This crate exposes the interface used by channels to serialize and deserialize arbitrary types.

It is simply an abstraction layer for different implementations that might not necessarily rely on serde.

The crate contains reference implementations that are all usable under channels and can be enabled with feature flags.

Serializers/Deserializers

Name Implemented By Feature flag
Bincode bincode bincode
Cbor ciborium cbor
Json serde_json json
Borsh borsh borsh

Bincode is the default implementation used by channels.

Middleware

Name Implemented By Feature Flag
Crc crc crc
Deflate flate2 deflate
Hmac ring hmac
Encrypt / Decrypt ring aead
Commit count: 494

cargo fmt