#future #promise #async

promising-future

Implementation of Promise/Future pairs

13 releases

Uses old Rust 2015

0.2.4 May 25, 2016
0.2.3 May 24, 2016
0.2.1 Feb 28, 2016
0.1.7 Feb 12, 2016
0.1.4 Sep 29, 2015

#1720 in Asynchronous

Download history 561/week @ 2023-11-26 155/week @ 2023-12-03 261/week @ 2023-12-10 820/week @ 2023-12-17 100/week @ 2023-12-24 245/week @ 2023-12-31 74/week @ 2024-01-07 1262/week @ 2024-01-14 242/week @ 2024-01-21 452/week @ 2024-01-28 210/week @ 2024-02-04 284/week @ 2024-02-11 232/week @ 2024-02-18 128/week @ 2024-02-25 89/week @ 2024-03-03 200/week @ 2024-03-10

665 downloads per month
Used in 2 crates (via livesplit-hotkey)

MIT/Apache

44KB
600 lines

Promising Future

Build Status Crates.io Coverage Status

This crate implements Promises and Futures, where a Future represents an unknown value, and a Promise determines what that value is.

It also provides FutureStream which allows multiple Futures to be waited on, yielding values as they become available.

While this could be seen as a "yet another" crate, the API both simpler and more general than other implementations of Futures, and more easily composable.

Documentation is available here.

License

Licensed under either of

at your option.

Contribution

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

~120KB