Change summary
tokio-xmpp/Cargo.toml | 4 ++--
tokio-xmpp/src/connect/tls_common.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Detailed changes
@@ -17,8 +17,8 @@ futures = "0.3"
log = "0.4"
tokio = { version = "1", features = ["net", "rt", "rt-multi-thread", "macros", "io-util"] }
tokio-stream = { version = "0.1", features = ["sync"] }
-webpki-roots = { version = "0.26", optional = true }
-rustls-native-certs = { version = "0.7", optional = true }
+webpki-roots = { version = "1", optional = true }
+rustls-native-certs = { version = "0.8", optional = true }
rxml = { version = "0.13.1", features = ["compact_str"] }
rand = "0.9"
syntect = { version = "5", optional = true }
@@ -128,7 +128,7 @@ where
#[cfg(feature = "rustls-native-certs")]
{
- root_store.add_parsable_certificates(rustls_native_certs::load_native_certs()?);
+ root_store.add_parsable_certificates(rustls_native_certs::load_native_certs().certs);
}
#[allow(unused_mut, reason = "This config is mutable when using ktls")]