mirror of
https://github.com/jj-vcs/jj.git
synced 2026-07-03 22:24:35 +08:00
This enables having custom async runtimes, without having to depend on a huge tokio dependency, just for traits. tokio is still enabled in testing, and if watchman feature is enabled. Commit replaces `AsyncRead(Ext)` from tokio to futures(which is already a dependency), as a sideeffect it uses `Cursor` from futures. This commit also gets rid of `BlockingAsyncReader` by using futures's `AllowStdIo`