quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.85k stars 394 forks source link

Example use internal function #1204

Closed arxra closed 3 years ago

arxra commented 3 years ago

In quinn/examples/common/mod.rs the function ClientConfig::with_root_certificates(certs) is used (line 52) but no such function exist on ClientConfigs when using quinn as a library.

There might have been another private function there but I don't remember.

djc commented 3 years ago

Are you using an example from the main branch with a released version of the library?

arxra commented 3 years ago

Ah, I see my mistake now. Yes, I was looking at the main examples running 0.7.2