Registry / async / tokio-io

tokio-io

JSON →
library0.1.13rscratesunverified

Core I/O primitives for asynchronous I/O in Rust.

# Cargo.toml [dependencies] tokio-io = "0.1.13"
INSTALL
IMPORT
SIG · TOKIO-IO
T
tokio-io
asyncrustv0.1.13
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.

AsyncRead
use tokio_io::AsyncRead;

Demonstrates the AsyncRead trait from tokio-io.

use tokio_io::AsyncRead; use std::io::Cursor; fn main() { let mut cursor = Cursor::new(vec![1, 2, 3]); let mut buf = [0u8; 3]; // AsyncRead requires a runtime; this is just a type demonstration println!("AsyncRead trait available"); }
Debug
Known issues
breakingThis crate is deprecated in favor of tokio::io.
fix
Use tokio::io instead of tokio-io.
affects: >=0.2.0
Upgrade
Version history
0.1.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
36
OpenAI (training)
1
Resources
tokio-io — cargo add tokio-io · libregistry