tokio-xmpp: Bump rustls-native-certs and webpki-roots

Link Mauve created

skip-changelog: This is just a dependency bump.

Change summary

tokio-xmpp/Cargo.toml                | 4 ++--
tokio-xmpp/src/connect/tls_common.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

tokio-xmpp/Cargo.toml 🔗

@@ -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 }

tokio-xmpp/src/connect/tls_common.rs 🔗

@@ -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")]