5 releases
0.2.1 | Jun 29, 2024 |
---|---|
0.2.0 | Jun 7, 2024 |
0.1.2 | Feb 18, 2024 |
0.1.1 | Feb 6, 2024 |
0.1.0 | Dec 29, 2023 |
#2474 in Parser implementations
Used in channels
29KB
648 lines
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 |
Dependencies
~0–8MB
~94K SLoC