HomePhabricator

rust-chg: upgrade to futures-0.3 based libraries

Authored by yuja.

Description

rust-chg: upgrade to futures-0.3 based libraries

And do some trivial fixes:

  • BytesMut::put_u32_be() -> put_u32()
  • tokio_process -> tokio::process, CommandExt -> Command, spawn_async() -> spawn(), stdin() -> stdin
  • tokio_timer::sleep() -> tokio::time::delay_for()

Differential Revision: https://phab.mercurial-scm.org/D8441

Details