Registry / serialization / async-bincode

async-bincode

JSON →
library0.8.0rscratesunverified

Asynchronous access to a bincode-encoded item stream.

# Cargo.toml [dependencies] async-bincode = "0.8.0"
INSTALL
IMPORT
SIG · ASYNC-BINCODE
A
async-bincode
serializationrustv0.8.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.

AsyncBincodeReader
use async_bincode::AsyncBincodeReader;

Creates an async bincode reader from an async source.

use async_bincode::AsyncBincodeReader; use tokio::io::AsyncRead; #[tokio::main] async fn main() { let reader = AsyncBincodeReader::from(/* some AsyncRead */); // Use reader to deserialize items }
Debug
Known issues
gotchaRequires an async runtime like tokio or async-std.
fix
Add tokio or async-std as a dependency and use appropriate runtime.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
40
Resources
async-bincode — cargo add async-bincode · libregistry