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. Futures-rs works without the standard library, such as in bare metal environments. However, it has a significantly reduced API surface.
Features
- It requires a nightly compiler, and works with rustc’s new support for async/await notation
- Tokio and Hyper support is not yet available for 0.3.0-alpha.1, but that’s the next area of work
- Neither the futures crate nor async/await notation will be stabilized for the initial release of the Rust 2018 Edition
- Futures 0.1 continues to be maintained and is the primary way to write production async code today
- With futures 0.3 alpha, it is possible to use the new async/await notation
- The notation works as described in the corresponding RFC
Categories
Software DevelopmentLicense
MIT License, Apache License V2.0Follow Futures-RS
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Futures-RS!