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) <noreply@anthropic.com>
This commit is contained in:
Slavi Pantaleev
2026-06-21 07:48:15 +03:00
parent de980f0165
commit 105ca7b506
2 changed files with 4 additions and 8 deletions

5
Cargo.lock generated
View File

@@ -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]]

View File

@@ -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.*"