Zero-cost asynchronous programming in Rust
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Balazs Horvath 9085301748 Fix futures-macro dependencies to use git.sly.so
- Fixed proc-macro2 dependency from local path to git.sly.so
- Fixed quote dependency from local path to git.sly.so
- Fixed syn dependency from local path to git.sly.so
- This resolves the build error preventing mappy-server compilation
2026-05-05 19:42:08 +02:00
examples chore: sync dependencies (monorepo) 2026-03-30 14:57:14 +02:00
futures chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-channel chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-core chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-executor chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-io chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-macro Fix futures-macro dependencies to use git.sly.so 2026-05-05 19:42:08 +02:00
futures-sink chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-task chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-test chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
futures-util chore: sync dependencies (monorepo) 2026-04-06 15:19:44 +02:00
.gitignore gitignore: ignore target as a symlink 2019-10-02 15:53:48 -07:00
.rustfmt.toml chore: sync dependencies (monorepo) 2026-03-30 09:26:27 +02:00
Cargo.toml Remove no longer necessary allowed lints 2025-01-25 14:23:33 +09:00
LICENSE-APACHE Update LICENSE-APACHE to match the copyright decl in LICENSE-MIT 2018-08-24 16:57:59 -07:00
LICENSE-MIT Add futures-io 2018-02-20 17:05:38 -08:00
README.md Bump MSRV of utility crates to 1.71 2026-02-15 13:29:18 +09:00

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.