Skip to content

Commit 0bac621

Browse files
AlexMikhalevclaude
andcommitted
fix(deps): use rustls-tls for all reqwest dependencies
Configure all crates to use rustls instead of native-tls for reqwest: - haystack_atlassian, haystack_discourse, haystack_grepapp, haystack_jmap - terraphim_automata, terraphim_github_runner, terraphim_github_runner_server - terraphim_multi_agent, terraphim_update (self_update with rustls feature) This fixes cross-compilation for musl and ARM64 targets which failed due to missing OpenSSL development libraries. Generated with Terraphim AI Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b82c068 commit 0bac621

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

crates/haystack_atlassian/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
[dependencies]
77
haystack_core = { path = "../haystack_core" }
88
terraphim_types = { path = "../terraphim_types" }
9-
reqwest = { version = "0.12", features = ["json"] }
9+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
1010
tokio = { version = "1.0", features = ["full"] }
1111
serde = { version = "1.0", features = ["derive"] }
1212
serde_json = "1.0"

crates/haystack_discourse/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/terraphim/discourse_haystack"
1111
haystack_core = { path = "../haystack_core" }
1212
terraphim_types = { path = "../terraphim_types" }
1313
clap = { version = "4.4.11", features = ["derive", "env"] }
14-
reqwest = { version = "0.12.24", features = ["json"] }
14+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
1515
tokio = { version = "1.35.0", features = ["full"] }
1616
serde = { version = "1.0.193", features = ["derive"] }
1717
serde_json = "1.0.108"

crates/haystack_grepapp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/terraphim/terraphim-ai"
1010
[dependencies]
1111
haystack_core = { path = "../haystack_core" }
1212
terraphim_types = { path = "../terraphim_types" }
13-
reqwest = { version = "0.12", features = ["json"] }
13+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
1414
tokio = { version = "1.0", features = ["full"] }
1515
serde = { version = "1.0", features = ["derive"] }
1616
serde_json = "1.0"

crates/haystack_jmap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
[dependencies]
77
haystack_core = { path = "../haystack_core" }
88
terraphim_types = { path = "../terraphim_types" }
9-
reqwest = { version = "0.12", features = ["json"] }
9+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
1010
tokio = { version = "1.0", features = ["full"] }
1111
serde = { version = "1.0", features = ["derive"] }
1212
serde_json = "1.0"

crates/terraphim_automata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ahash = { version = "0.8.6", features = ["serde"] }
1919
aho-corasick = "1.0.2"
2020
fst = "0.4"
2121
bincode = "1.3"
22-
reqwest = { version = "0.12.24", features = ["json", "rustls-tls"], optional = true }
22+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false, optional = true }
2323
serde = { version = "1.0.163", features = ["derive"] }
2424
serde_json = "1"
2525
thiserror = "1.0.30"

crates/terraphim_github_runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ log.workspace = true
3030
dashmap = "5.5"
3131

3232
# HTTP client for Firecracker API
33-
reqwest = { version = "0.12", features = ["json"] }
33+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
3434

3535
# Internal dependencies (feature-gated)
3636
terraphim_multi_agent = { path = "../terraphim_multi_agent", optional = true }

crates/terraphim_github_runner_server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ clap = { version = "4.5", features = ["derive"] }
3636
jsonwebtoken = "9"
3737

3838
# HTTP client (for Firecracker API)
39-
reqwest = { version = "0.12", features = ["json"] }
39+
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
4040

4141
# Time handling
4242
chrono = "0.4"

crates/terraphim_multi_agent/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ anyhow = { workspace = true }
2222
log = { workspace = true }
2323

2424
# Direct HTTP client approach (like Goose) for LLM communication
25-
reqwest = { version = "0.12", features = ["json", "stream"] }
25+
reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls"], default-features = false }
2626

2727
# Multi-provider generative AI client (using terraphim fork with OpenRouter support)
2828
genai = { git = "https://github.com/terraphim/rust-genai.git", branch = "merge-upstream-20251103" }

crates/terraphim_update/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "Apache-2.0"
1212
[dependencies]
1313
anyhow = "1.0"
1414
thiserror = "1.0"
15-
self_update = { version = "0.42", features = ["archive-tar", "compression-flate2"] }
15+
self_update = { version = "0.42", default-features = false, features = ["archive-tar", "compression-flate2", "rustls"] }
1616
tokio = { version = "1.0", features = ["full"] }
1717
tracing = "0.1"
1818
serde = { version = "1.0", features = ["derive"] }

0 commit comments

Comments
 (0)