#futures #core #website #documentation #preview

nightly futures-core-preview

The core traits and types in for the futures library

16 releases

✓ Uses Rust 2018 edition

new 0.3.0-alpha.14 Apr 15, 2019
0.3.0-alpha.13 Feb 21, 2019
0.3.0-alpha.12 Jan 15, 2019
0.3.0-alpha.11 Dec 27, 2018
0.3.0-alpha.2 Jul 30, 2018
Download history 3360/week @ 2018-12-31 3326/week @ 2019-01-07 2494/week @ 2019-01-14 2699/week @ 2019-01-21 3843/week @ 2019-01-28 4690/week @ 2019-02-04 5399/week @ 2019-02-11 4354/week @ 2019-02-18 3712/week @ 2019-02-25 4464/week @ 2019-03-04 3251/week @ 2019-03-11 3646/week @ 2019-03-18 2290/week @ 2019-03-25 1929/week @ 2019-04-01 1907/week @ 2019-04-08

14,519 downloads per month
Used in 97 crates (22 directly)

MIT/Apache

44KB
684 lines

futures-rs

Zero-cost asynchronous programming in Rust

Build Status Crates.io

Documentation | Website

Usage

Add this to your Cargo.toml:

[dependencies]
futures-preview = "0.3.0-alpha.13"

Now, you can use futures-rs:

use futures::future::Future; // Note: It's not `futures_preview`

The current version of futures-rs requires Rust nightly 2019-02-15 or later.

Feature std

Futures-rs works without the standard library, such as in bare metal environments. However, it has a significantly reduced API surface. To use futures-rs in a #[no_std] environment, use:

[dependencies]
futures-preview = { version = "=0.3.0-alpha.13", default-features = false }

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in futures-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies