deltachat-core-rust icon indicating copy to clipboard operation
deltachat-core-rust copied to clipboard

Remove direct dependency on futures-lite

Open link2xt opened this issue 3 years ago • 1 comments

#skip-changelog

link2xt avatar Nov 23 '21 23:11 link2xt

futures should probably be replaced with futures-lite if possible, because futures-lite is a dependency of async-std anyway and futures-lite is much smaller and easier to review. But it's a different issue. Here the use of futures-lite was completely unnecessary.

link2xt avatar Nov 23 '21 23:11 link2xt

After move from async-std to tokio we only depend on futures-lite directly, so closing this. futures-lite cannot be replaced with futures easily because it has some nice APIs like .race() that futures does not have.

link2xt avatar Aug 27 '22 20:08 link2xt