quinn
quinn copied to clipboard
Configuration ergonomics for client auth cert?
I noticed when providing a client authentication certificate via https://docs.rs/rustls/0.23.13/rustls/struct.ConfigBuilder.html#method.with_client_auth_cert, that I end up needing to repeat some of the configuration that is done internally in QuicClientConfig::inner (since I need to use the TryFrom impl to construct a QuicClientConfig).
The configuration for the server side of this is similar.
It seems like it would be nice if there was a way to avoid repeating this configuration (and keeping up to date with it if it needs to change) (assuming this is possible without introducing footguns in the API).