Open hypercube-lab opened 2 years ago
What version of futures were you considering?
I saw it and it includes a ton of major breaking changes from 0.1.21, so I wanted to see what others thought.
it's definitely an improvement but a little tricky since it's a whole new framework
The accountant stub routines are all contained inside a single block. That's OK for the time being, but we'll want to switch to all async calls as soon as possible. For now, wrapping each return value in a future and updating the callers (most of whom are in client-demo.rs) to utilize them is a good first step toward getting there.
See https://crates.io/crates/futures for further information.
It's worth noting that the tokio framework reexports the same future library, which means that if we utilize it as our async runtime, the move will be seamless.