Sunbeam Studios

Our open-source projects, here for you!

futures (0.3.32)

Published 2026-03-26 10:58:12 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add futures@0.3.32

About this package

An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces.

futures-rs

Zero-cost asynchronous programming in Rust

Build Status crates.io

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.

Usage

Add this to your Cargo.toml:

[dependencies]
futures = "0.3"

The current futures requires Rust 1.71 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 = { version = "0.3", default-features = false }

License

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.

Dependencies

ID Version
futures-channel ^0.3.32
futures-core ^0.3.32
futures-executor ^0.3.32
futures-io ^0.3.32
futures-sink ^0.3.32
futures-task ^0.3.32
futures-util ^0.3.32
assert_matches ^1.3.0
pin-project ^1.0.11
static_assertions ^1
tokio ^0.1.11

Keywords

futures async future
Details
Cargo
2026-03-26 10:58:12 +00:00
0
MIT OR Apache-2.0
59 KiB
Assets (1)
Versions (1) View all
0.3.32 2026-03-26