-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
The README has this example code:
Lines 22 to 23 in 63b8d6f
let mut root_cert_store = RootCertStore::empty(); | |
root_cert_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| { |
This API was added in rustls 0.21.6
. However, Cargo.toml
(for the latest published release) only require rustls 0.21.0
, leading to compilation errors if someone updates tokio-rustls
without also updating the rustls
point release (and the error message does not make it obvious that this is the solution).
Metadata
Metadata
Assignees
Labels
No labels