Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

warning: `crate::task::panic_waker` is both a module and a function
  --> futures-test/src/task/
26 | //! - [`panic_waker`](crate::task::panic_waker) creates a waker that panics when
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous link
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
help: to link to the module, prefix with `mod@`
26 | //! - [`panic_waker`](mod@crate::task::panic_waker) creates a waker that panics when
   |                       ++++
help: to link to the function, add parentheses
26 | //! - [`panic_waker`](crate::task::panic_waker()) creates a waker that panics when
   |                                               ++

Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Zero-cost asynchronous programming in Rust

Build Status

Documentation | Website

futures-rs is a library providing the foundations for asynchronous programming in Rust. It includes key trait definitions like Stream, as well as utilities like join!, select!, and various futures combinator methods which enable expressive asynchronous control flow.


Add this to your Cargo.toml:

futures = "0.3"

The current futures requires Rust 1.45 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:

futures = { version = "0.3", default-features = false }


Licensed under either of Apache License, Version 2.0 or MIT license at your option.

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