fyi: i have a branch that enables usage of `tokio-...
# development
w
fyi: i have a branch that enables usage of
tokio-compat
, from some afterhours funtime porting. it will be required to port the first modules that use
tokio 0.2
outside of a test (the
fs
or
task_executor
crates i think...?): https://github.com/pantsbuild/pants/compare/master...twitter:stuhood/tokio-compat ... if anyone beats me to porting more modules, feel free to pick it up
❤️ 1
🔥 2
a
what is the utility of this porting effort? do we get to use async/await? or is this just a replacement of the executor?
w
a
thanks!
w
there is a draft that mostly works. tests aren't ported yet. https://github.com/pantsbuild/pants/pull/9071
💯 1
a
Very cool!! I didn’t know
#[async_trait]
was a thing!!
Left a handful of comments, looks super cool!