Skip to content

Commit fd14b29

Browse files
author
Paul C
committed
fix(ci): drop OpenSSL — reqwest uses rustls so musl cross builds succeed
The aarch64 (and x86_64) musl release build failed because openssl-sys couldn't find OpenSSL in the cross image. reqwest's default native-tls backend was the only thing pulling it. Switching reqwest to rustls-tls removes openssl-sys from the dependency graph entirely (verified via cargo tree), keeping the binary fully static and cross-compilable.
1 parent 5180a4a commit fd14b29

2 files changed

Lines changed: 56 additions & 123 deletions

File tree

Cargo.lock

Lines changed: 53 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ chrono = { version = "0.4", features = ["serde"] }
6161
async-trait = "0.1"
6262
futures = "0.3"
6363

64-
# HTTP client (for CLI)
65-
reqwest = { version = "0.11", features = ["json"] }
64+
# HTTP client (for CLI). rustls (not native-tls) so there's no OpenSSL C
65+
# dependency — keeps the binary fully static and cross-compilable to musl.
66+
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
6667

6768
# State storage (embedded)
6869
rusqlite = { version = "0.31", features = ["bundled"] }

0 commit comments

Comments
 (0)