quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.57k stars 364 forks source link

Make ConnectionIdParser object-safe, and accept trait object impls #1878

Closed Ralith closed 1 month ago

Ralith commented 1 month ago

Groundwork to eventually make ConnectionIdGenerator require or somehow expose ConnectionIdParser, towards eventually supporting variable-length CIDs in Quinn. Further changes in this direction will be breaking so we shouldn't pursue them immediately, but getting this in before the next release will reduce the magnitude of that breakage.

CC @thynson