quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Remove superfluous crypto helpers #1214

Closed Ralith closed 2 years ago

Ralith commented 2 years ago

These were, at best paper-thin wrappers around rustls_pemfile and rustls APIs which are (as of 0.20) straightforward to use directly. Parsing a private key of unknown format is slightly fiddly, but I don't think quinn is the right place to solve that problem; maybe a helper should be added to rustls_pemfile?

Assorted test/example updates still WIP.