From c459fd25eba993a0ebbdabb654f8e77913161a8e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2026 19:34:06 +0000 Subject: [PATCH] Disable ureq default features to avoid rustls and ring dependencies on Android Co-authored-by: Tcode-Motion <188012755+Tcode-Motion@users.noreply.github.com> --- Cargo.lock | 23 ----------------------- cli/Cargo.toml | 2 +- stdlib/Cargo.toml | 2 +- tools/package-manager/Cargo.toml | 2 +- 4 files changed, 3 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f631e122..979c599b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3686,7 +3686,6 @@ dependencies = [ "aws-lc-rs", "log 0.4.33", "once_cell", - "ring", "rustls-pki-types", "rustls-webpki", "subtle", @@ -4944,16 +4943,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" dependencies = [ "base64 0.22.1", - "flate2", "log 0.4.33", "native-tls", "once_cell", - "rustls", - "rustls-pki-types", "serde", "serde_json", "url", - "webpki-roots 0.26.11", ] [[package]] @@ -5106,24 +5101,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki-roots" -version = "0.26.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" -dependencies = [ - "webpki-roots 1.0.9", -] - -[[package]] -name = "webpki-roots" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "weezl" version = "0.1.12" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 234d2883..2682f8ff 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -54,7 +54,7 @@ indexmap = { workspace = true } bincode = "1.3.3" dirs = "7.0" num_cpus = "1.15" -ureq = { version = "2.10", features = ["native-tls"] } +ureq = { version = "2.10", default-features = false, features = ["native-tls"] } rayon = "1.12.0" rusqlite = { version = "0.40", features = ["bundled"] } diff --git a/stdlib/Cargo.toml b/stdlib/Cargo.toml index 470cf961..9df14974 100644 --- a/stdlib/Cargo.toml +++ b/stdlib/Cargo.toml @@ -10,7 +10,7 @@ techscript_runtime = { path = "../runtime/runtime" } serde_json = { workspace = true } serde = { workspace = true } indexmap = { version = "2", features = ["serde"] } -ureq = { version = "2.10", features = ["json", "native-tls"] } +ureq = { version = "2.10", default-features = false, features = ["json", "native-tls"] } toml = { workspace = true } rusqlite = { version = "0.40", features = ["bundled"] } md5 = "0.8" diff --git a/tools/package-manager/Cargo.toml b/tools/package-manager/Cargo.toml index 4f1f7c3b..b4a812d5 100644 --- a/tools/package-manager/Cargo.toml +++ b/tools/package-manager/Cargo.toml @@ -10,7 +10,7 @@ serde = { workspace = true } serde_json = { workspace = true } toml = "1.1" anyhow = { workspace = true } -ureq = { version = "2.10", features = ["native-tls"] } +ureq = { version = "2.10", default-features = false, features = ["native-tls"] } [[bench]] name = "capability_validation_bench"