Registry / serialization / tokio-serde-bincode

tokio-serde-bincode

JSON →
library0.2.1rscratesunverified

Tokio bindings to quickly turn a stream of bytes into a stream of parsed/serialized items using the bincode format.

# Cargo.toml [dependencies] tokio-serde-bincode = "0.2.1"
INSTALL
IMPORT
SIG · TOKIO-SERDE-BINCOD
T
tokio-serde-bincode
serializationrustv0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ReadHalf
use tokio_serde_bincode::ReadHalf;

Minimal usage showing how to create a ReadHalf for deserializing bincode frames from a Tokio stream.

use tokio_serde_bincode::ReadHalf; // Example: reading bincode-encoded frames from a stream let reader = ReadHalf::new(some_stream); // Then use reader.next() to deserialize items
Debug
Known issues
gotchaRequires tokio runtime to be active
fix
Ensure you have a tokio runtime (e.g., #[tokio::main]) before using this crate.
affects: >=0.1.0
Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
Amazon
1
Resources
tokio-serde-bincode — cargo add tokio-serde-bincode · libregistry