π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
rust(core): enable webpki roots fallback for rustls
Neeraj Guptadd052ef133b3
diff --git a/mobile/packages/rust/rust/Cargo.lock b/mobile/packages/rust/rust/Cargo.lockindex da698cac52..d526f3c545 100644--- a/mobile/packages/rust/rust/Cargo.lock+++ b/mobile/packages/rust/rust/Cargo.lock@@ -826,6 +826,7 @@ dependencies = ["tokio","tokio-rustls","tower-service",+ "webpki-roots",][[package]]@@ -1408,6 +1409,7 @@ dependencies = ["wasm-bindgen","wasm-bindgen-futures","web-sys",+ "webpki-roots",][[package]]@@ -2028,6 +2030,15 @@ dependencies = ["wasm-bindgen",]+[[package]]+name = "webpki-roots"+version = "1.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed"+dependencies = [+ "rustls-pki-types",+]+[[package]]name = "windows-link"version = "0.2.1"diff --git a/rust/contacts/Cargo.lock b/rust/contacts/Cargo.lockindex 5f7ef09dcb..e932814a4b 100644--- a/rust/contacts/Cargo.lock+++ b/rust/contacts/Cargo.lock@@ -1122,6 +1122,7 @@ dependencies = ["tokio","tokio-rustls","tower-service",+ "webpki-roots",][[package]]@@ -2066,6 +2067,7 @@ dependencies = ["wasm-bindgen-futures","wasm-streams","web-sys",+ "webpki-roots",][[package]]@@ -2939,6 +2941,15 @@ dependencies = ["wasm-bindgen",]+[[package]]+name = "webpki-roots"+version = "1.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed"+dependencies = [+ "rustls-pki-types",+]+[[package]]name = "windows-core"version = "0.62.2"diff --git a/rust/core/Cargo.lock b/rust/core/Cargo.lockindex ee048b03ab..00d86ecd7f 100644--- a/rust/core/Cargo.lock+++ b/rust/core/Cargo.lock@@ -592,6 +592,7 @@ dependencies = ["tokio","tokio-rustls","tower-service",+ "webpki-roots",][[package]]@@ -1192,6 +1193,7 @@ dependencies = ["wasm-bindgen","wasm-bindgen-futures","web-sys",+ "webpki-roots",][[package]]@@ -1840,6 +1842,15 @@ dependencies = ["wasm-bindgen",]+[[package]]+name = "webpki-roots"+version = "1.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed"+dependencies = [+ "rustls-pki-types",+]+[[package]]name = "windows-link"version = "0.2.1"diff --git a/rust/core/Cargo.toml b/rust/core/Cargo.tomlindex 7c6cf16c52..42654c59df 100644--- a/rust/core/Cargo.toml+++ b/rust/core/Cargo.toml@@ -4,7 +4,7 @@ version = "0.0.1"edition = "2024"[dependencies]-reqwest = { version = "0.12", default-features = false, features = ["http2", "charset", "system-proxy", "json", "rustls-tls-native-roots"] }+reqwest = { version = "0.12", default-features = false, features = ["http2", "charset", "system-proxy", "json", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }serde = { version = "1", features = ["derive"] }serde_json = "1"thiserror = "2"