This is an archive of the discontinued Mercurial Phabricator instance.

rust-chg: upgrade to futures-0.3 based libraries
ClosedPublic

Authored by yuja on Apr 16 2020, 8:29 AM.

Details

Summary

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()

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuja created this revision.Apr 16 2020, 8:29 AM
Alphare accepted this revision.Apr 17 2020, 7:55 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.