quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.52k stars 356 forks source link

make UdpPollHelper public available #1852

Closed zh-jq closed 3 weeks ago

zh-jq commented 3 weeks ago

It will be useful when impl custom AsyncUdpSocket

Ralith commented 3 weeks ago

Given the simplicity and tangential nature of this helper, my inclination is to expect folks to copy-paste it rather than commit to it as part of our public API.

zh-jq commented 3 weeks ago

OK. I will copy that code. Do you have any suggestions on how to write the copyright note?

Ralith commented 3 weeks ago

Attribution to "the Quinn project" should be fine, I guess? It's a pretty trivial code fragment, but I'm not a copyright lawyer.