feat: upgrade tokio-rustls to 0.24

pull/117/head
CGQAQ 2 years ago committed by Sebastian Dröge
parent 9926ffd672
commit fd81cce2cc
  1. 2
      Cargo.toml
  2. 2
      src/tokio/rustls.rs

@ -80,7 +80,7 @@ package = "tokio-native-tls"
[dependencies.real-tokio-rustls]
optional = true
version = "0.23"
version = "0.24"
package = "tokio-rustls"
[dependencies.rustls-native-certs]

@ -45,7 +45,7 @@ where
for cert in rustls_native_certs::load_native_certs()? {
root_store
.add(&Certificate(cert.0))
.map_err(TlsError::Webpki)?;
.map_err(TlsError::Rustls)?;
}
}
#[cfg(all(

Loading…
Cancel
Save