Crates.io | channels-serdes |
lib.rs | channels-serdes |
version | 0.2.1 |
source | src |
created_at | 2023-12-29 12:14:45.267767 |
updated_at | 2024-06-29 09:22:56.388026 |
description | Utilities to serialize/deserialize types. |
homepage | https://github.com/threadexio/channels-rs |
repository | https://github.com/threadexio/channels-rs |
max_upload_size | |
id | 1083309 |
size | 29,076 |
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.
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
.
Name | Implemented By | Feature Flag |
---|---|---|
Crc |
crc |
crc |
Deflate |
flate2 |
deflate |
Hmac |
ring |
hmac |
Encrypt / Decrypt |
ring |
aead |