-
-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Description
h2 currently depends on futures-util, which is rather heavy (containing heaps of combinators, plus pulling in most of the other futures-* crates) for only two things: poll_fn and AtomicWaker. poll_fn could trivially be copy-pasted (and is also coming to std so eventually that could be used), but the same thing is not true for AtomicWaker. I am not really familiar with the details of wakers, so don't really know how feasible it is to replace that / whether there's maybe an equivalent in tokio / tokio-utils.
I hope there is some new info in this issue. If somebody knows about a good replacement for futures-util's AtomicWaker, I'd be happy to create a PR removing the futures-util dependency.
Metadata
Metadata
Assignees
Labels
No labels