Skip to content

Commit 89424e2

Browse files
committed
fix: resolve loading certificates root certs
1 parent f4afcd3 commit 89424e2

File tree

2 files changed

+19
-81
lines changed

2 files changed

+19
-81
lines changed

Cargo.lock

+3-80
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hipcheck/Cargo.toml

+16-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ env_logger = { version = "0.11.6" }
4545
flate2 = "1.1.0"
4646
fs_extra = "1.3.0"
4747
futures = "0.3.31"
48-
gix = { version = "0.70.0", features = [
48+
gix = { version = "0.70.0", default-features = false, features = [
49+
"basic",
50+
"dirwalk",
51+
"worktree-mutation",
4952
"max-control",
5053
# use reqwest/rustls to avoid needing openssl
5154
"blocking-http-transport-reqwest-rust-tls",
@@ -144,6 +147,18 @@ serde_with = "3.12.0"
144147
hipcheck-workspace-hack = { version = "0.1", path = "../library/hipcheck-workspace-hack" }
145148
gomod-rs = "0.1.1"
146149

150+
# This is needed to force reqwest, which is used by gix, to build reqwest with support
151+
# for rustls-tls-native-roots, which is needed to automatically configure system certificates
152+
[dependencies.reqwest]
153+
version = "0.12"
154+
default-features = false
155+
features = [
156+
"blocking",
157+
"http2",
158+
"rustls-tls-native-roots",
159+
"macos-system-configuration",
160+
]
161+
147162
[build-dependencies]
148163

149164
anyhow = "1.0.97"

0 commit comments

Comments
 (0)