git.delta.rocks / jrsonnet / refs/commits / 5b43fa88b8c4

difftreelog

ci try pure-rust builds for jrb

lvqskylmYaroslav Bolyukin2026-05-08parent: #16d0d0e.patch.diff
in: master

3 files changed

modifiedCargo.lockdiffbeforeafterboth
after · Cargo.lock
458 packageslockfile v4
modifiedCargo.tomldiffbeforeafterboth
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -132,6 +132,7 @@
 directories = "6.0.0"
 gix = { version = "0.83.0", features = ["blocking-network-client"] }
 camino = { version = "1.2.2", features = ["serde1"] }
+rustls = { version = "0.23", default-features = false }
 
 [workspace.lints.rust]
 unsafe_op_in_unsafe_fn = "deny"
modifiedcrates/jrsonnet-pkg/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-pkg/Cargo.toml
+++ b/crates/jrsonnet-pkg/Cargo.toml
@@ -20,21 +20,15 @@
 peg.workspace = true
 
 # Gix for git repos, reqwest + zip for github
+gix = { workspace = true, features = ["blocking-http-transport-reqwest"] }
+reqwest = { workspace = true, features = ["rustls-no-provider"] }
 zip.workspace = true
 url.workspace = true
 camino.workspace = true
 
+# ring is not ideal and not recommended by rustls authors... But is easiest to build,
+# and there should be little risk for bundling use case
+rustls = { workspace = true, features = ["ring"] }
+
 # Global cache dir
 directories.workspace = true
-
-[target.'cfg(not(any(all(target_os = "windows", target_env = "gnu"), target_vendor = "apple")))'.dependencies]
-gix = { workspace = true, features = [
-  "blocking-http-transport-reqwest-rust-tls",
-] }
-reqwest = { workspace = true, features = ["rustls"] }
-
-[target.'cfg(any(all(target_os = "windows", target_env = "gnu"), target_vendor = "apple"))'.dependencies]
-gix = { workspace = true, features = [
-  "blocking-http-transport-reqwest-native-tls",
-] }
-reqwest = { workspace = true, features = ["native-tls"] }