futures-rs

Zero-cost asynchronous programming in Rust

  • 所有者: rust-lang/futures-rs
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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"

Now, you can use futures-rs:

use futures::future::Future;

The current futures-rs requires Rust 1.39 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.4", 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.

主要指标

概览
名称与所有者rust-lang/futures-rs
主编程语言Rust
编程语言Rust (语言数: 1)
平台
许可证Apache License 2.0
所有者活动
创建于2016-03-30 16:03:08
推送于2025-05-23 14:06:24
最后一次提交2025-05-23 22:06:24
发布数96
最新版本名称0.3.31 (发布于 )
第一版名称futures-cpupool-0.1.1 (发布于 2016-09-09 22:07:03)
用户参与
星数5.7k
关注者数99
派生数655
提交数3.5k
已启用问题?
问题数1147
打开的问题数191
拉请求数1516
打开的拉请求数54
关闭的拉请求数240
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?