Skip to content

Commit d81c0a3

Browse files
mikkihugoclaude
andcommitted
fix(sync-linguist): use rustls-tls instead of OpenSSL for pure Rust build
Replace openssl-sys with pure Rust rustls-tls backend for reqwest. This allows sync-linguist binary to build without system OpenSSL libraries, enabling it to work in CI/CD environments without nix develop. - Changed reqwest to use rustls-tls feature - Disabled default-tls (OpenSSL) feature - Resolves CI/CD build failures for sync-linguist binary 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5450e16 commit d81c0a3

2 files changed

Lines changed: 82 additions & 130 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ anyhow = "1.0"
111111
lazy_static = "1.4"
112112

113113
# HTTP client for fetching from Linguist (used by tools)
114-
reqwest = { version = "0.11", features = ["json"], optional = true }
114+
# Use rustls instead of default-tls (OpenSSL) for pure-Rust TLS without system dependencies
115+
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false, optional = true }
115116
tokio = { version = "1", features = ["full"], optional = true }
116117

117118
# Regex for pattern extraction

0 commit comments

Comments
 (0)