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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?