Registry / async / futures-core-preview

futures-core-preview

JSON →
library0.2.3rscratesunverified

The core traits and types for the futures library, including Future and Stream.

# Cargo.toml [dependencies] futures-core-preview = "0.2.3"
INSTALL
IMPORT
SIG · FUTURES-CORE-PREVI
F
futures-core-preview
asyncrustv0.2.3
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.

Future
use futures_core::Future;

Demonstrates importing the Future trait.

use futures_core::Future; fn main() { // Example: a simple future that resolves immediately let fut = async { 42 }; println!("Future created"); }
Debug
Known issues
gotchaThis is a preview crate; prefer the stable futures-core crate for production use.
fix
Use futures-core instead of futures-core-preview.
affects: >=0.2.0
Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
futures-core-preview — cargo add futures-core-preview · libregistry