rustasync / runtime

Empowering everyone to build asynchronous software
https://docs.rs/runtime
Apache License 2.0
862 stars 28 forks source link

Update for futures v0.3.0-alpha.15 #18

Closed Nemo157 closed 5 years ago

Nemo157 commented 5 years ago

Replace (most) usage of FutureObj with BoxFuture and use BoxFuture to simplify some function signatures.

Enable the async-await feature for the tests.

Description

Motivation and Context

Fixes #6.

Types of changes

The only breaking change is changing Runtime::spawn_obj into Runtime::spawn_boxed, the other function signature changes are identical after type alias expansion.