From 105ca7b506222f147d12067b21fed1a49da08b91 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 21 Jun 2026 07:48:15 +0300 Subject: [PATCH] Update reqwest to 0.13 Aligns baibot's direct reqwest dep with the 0.13 copy that async-openai/matrix-sdk/mxlink already pull, instead of the lone 0.12 copy kept alive only by the anthropic fork. 0.13 renamed the `rustls-tls` feature to `rustls`; update the feature list accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) --- Cargo.lock | 5 +---- Cargo.toml | 7 +++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b245857..3f94046 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -329,7 +329,7 @@ dependencies = [ "mxlink", "quick_cache", "regex", - "reqwest 0.12.28", + "reqwest 0.13.3", "serde", "serde_json", "serde_yaml_ng", @@ -1591,7 +1591,6 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", - "webpki-roots 1.0.7", ] [[package]] @@ -3076,7 +3075,6 @@ dependencies = [ "hyper-util", "js-sys", "log", - "mime_guess", "percent-encoding", "pin-project-lite", "quinn", @@ -3098,7 +3096,6 @@ dependencies = [ "wasm-bindgen-futures", "wasm-streams 0.4.2", "web-sys", - "webpki-roots 1.0.7", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 0de5d8a..2b76bcc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,10 +28,9 @@ mxlink = ">=1.15.0" etke_openai_api_rust = "0.1.*" quick_cache = "0.6.*" regex = "1.12.*" -# Direct dep for the native `venice` provider's HTTP client. Pinned to 0.12 (the version -# async-openai 0.41 already resolves) with rustls only and default-features off, so we ride -# the existing reqwest+rustls copy instead of pulling a second TLS stack (native-tls/openssl). -reqwest = { version = "0.12.*", default-features = false, features = ["json", "multipart", "rustls-tls"] } +# HTTP client for the native `venice` provider. rustls only (no extra TLS stack), matching the +# reqwest copy async-openai/matrix-sdk/mxlink already use. +reqwest = { version = "0.13.*", default-features = false, features = ["json", "multipart", "rustls"] } serde = { version = "1.0.*", features = ["derive"], default-features = false } serde_json = "1.0.*" serde_yaml_ng = "0.10.*"