Registry / serialization / tokio-serde

tokio-serde

JSON →
library0.9.0rscratesunverified

Send and receive Serde encodable types over the network using Tokio.

# Cargo.toml [dependencies] tokio-serde = "0.9.0"
INSTALL
IMPORT
SIG · TOKIO-SERDE
T
tokio-serde
serializationrustv0.9.0
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.

Framed
use tokio_serde::Framed;

Creates a framed transport for serializing/deserializing types over a Tokio stream.

use tokio_serde::Framed; use tokio_util::codec::FramedRead; let framed = Framed::new(FramedRead::new(reader, MyCodec), MyFormat);
Debug
Known issues
gotchaRequires a Tokio runtime for async I/O operations.
fix
Ensure you have a Tokio runtime (e.g., #[tokio::main]) in your application.
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
tokio-serde — cargo add tokio-serde · libregistry