Skip to content

Commit ace48be

Browse files
committed
Fix tls issue
1 parent 9d3c9f3 commit ace48be

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"crates/node/Cargo.toml":"Patch","bridge/node/package.json":"Patch","crates/cli/Cargo.toml":"Patch","bridge/python/pyproject.toml":"Patch","crates/rust/Cargo.toml":"Patch","crates/python/Cargo.toml":"Patch","crates/core/Cargo.toml":"Patch","crates/testkit/Cargo.toml":"Patch"},"note":"Fix tls issue","date":"2026-04-08T04:58:27.855918500Z"}

crates/cli/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ pub async fn main(args: &[String]) -> Result<(), Box<dyn std::error::Error + Sen
108108
#[allow(clippy::too_many_lines)]
109109
#[cfg(not(tarpaulin_include))]
110110
pub async fn run(cli: &Cli) -> Result<bool, Box<dyn std::error::Error + Send + Sync>> {
111+
// Install rustls crypto provider (reqwest is built with rustls-no-provider).
112+
// Idempotent: subsequent calls are no-ops.
113+
let _ = rustls::crypto::ring::default_provider().install_default();
114+
111115
init_tracing(cli.verbose);
112116

113117
let use_color = std::env::var("NO_COLOR").is_err();

0 commit comments

Comments
 (0)