Closed ecton closed 2 years ago
Thanks for reporting! Let's see what the tokio folks say.
Sorry, we probably aren't going to fix this on Tokio's end. Avoiding this kind of breakage is not really possible unless we decide to never upgrade any of our dependencies, including the private ones. You can fix it by adding os-poll
to the list of features you require from mio.
Yeah, this is our fault for not explicitly depending on the os-poll
feature, I suppose. @ecton want to submit a PR for that?
Yep, was just going to clone the repo and try it out. I'll have a PR in soon.
See tokio-rs/tokio#4512 for the report to Tokio about this change.
quinn-udp specifies a requirement on tokio 1.0.1 and mio 0.7. tokio 1.17 depends on mio 0.8, causing a version incompatibility that happens at runtime:
I'm going to work around this myself by pinning tokio to 1.16.1 in my library and releasing new updates.