Crate futures_lite[−][src]
Futures, streams, and async I/O combinators.
This crate is a subset of futures that compiles an order of magnitude faster, fixes minor warts in its API, fills in some obvious gaps, and removes almost all unsafe code from it.
In short, this crate aims to be more enjoyable than futures but still fully compatible with it.
Examples
use futures_lite::future; fn main() { future::block_on(async { println!("Hello world!"); }) }
Modules
future | Combinators for the |
io | Tools and combinators for I/O. |
prelude | Traits |
stream | Combinators for the |
Macros
pin | Pins a variable of type |
ready | Unwraps |