reown-com / a2

An Asynchronous Apple Push Notification (apns2) Client for Rust
MIT License
150 stars 52 forks source link

Refactor client to use the async/await syntax #20

Closed pimeys closed 5 years ago

pimeys commented 6 years ago

The async/await syntax is landing to stable Rust later on this year. This will finally help us to get rid of the callback hell, but we might need to upgrade futures and tokio and get the pinning feature from Rust to make this refactoring a bit nicer.

pimeys commented 5 years ago

Here's the branch, works with the special tokio extension. For testing purposes:

https://github.com/pimeys/a2/tree/async_await

pimeys commented 5 years ago

Merged to master.