Registry / async / futures-io-preview

futures-io-preview

JSON →
library0.2.2rscratesunverified

Provides the AsyncRead and AsyncWrite traits for the futures-rs library.

# Cargo.toml [dependencies] futures-io-preview = "0.2.2"
INSTALL
IMPORT
SIG · FUTURES-IO-PREVIEW
F
futures-io-preview
asyncrustv0.2.2
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 futures_io::AsyncRead;

Demonstrates importing the AsyncRead trait.

use futures_io::AsyncRead; fn main() { // AsyncRead is a trait, typically implemented by types like Cursor println!("AsyncRead trait available"); }
Debug
Known issues
breakingThis crate is deprecated; use `futures-io` from the main futures crate instead.
fix
Replace `futures-io-preview` with `futures-io` in Cargo.toml and update imports to `futures::io::AsyncRead`.
affects: >=0.2.0
Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Resources
futures-io-preview — cargo add futures-io-preview · libregistry