freedomlayer/offset

Upgrade to Futures 0.2

Closed this issue · 3 comments

In the future we might have to upgrade to upgrade CSwitch to use the newer Tokio Futures design. Currently CSwitch works with Futures 0.1.

I am still not sure if we want to do the upgrade only when Futures becomes stable (I heard that 1.0 might happen during 2018), or should already start doing it at Futures 0.2.

I was wondering what is the right way to do this kind of upgrade.

  • Can we upgrade the code gradually, or do we have to do it all at once?
  • Which crates should be put at Cargo.toml for the new futures? Should we use the separated smaller crates of future?

Should be 0.3?

For 1), we need to do it at all, for the second, I will do a research.

Solved by PR #113