From be1b9ac2de19147f77f7f956a061e325a7644949 Mon Sep 17 00:00:00 2001 From: quran Date: Mon, 5 Jan 2026 22:05:43 +0800 Subject: [PATCH] chore(deps): update reqwest dependency and TLS feature flags - Update reqwest from version 0.12 to 0.13 - Change TLS feature flag from rustls-tls to rustls - Update TLS configuration in ccxt-core and ccxt-exchanges crates - Maintain compatibility with rustls-tls-native-roots for WebSocket connections --- Cargo.toml | 2 +- ccxt-core/Cargo.toml | 2 +- ccxt-exchanges/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 12757a7..0b3c6ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ futures-util = "0.3" async-trait = "0.1" # HTTP & WebSocket -reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "gzip"] } +reqwest = { version = "0.13", default-features = false, features = ["json", "rustls", "gzip"] } tokio-tungstenite = { version = "0.28", default-features = false, features = ["rustls-tls-native-roots", "connect"] } # Serialization diff --git a/ccxt-core/Cargo.toml b/ccxt-core/Cargo.toml index 4796d7d..1485fd0 100644 --- a/ccxt-core/Cargo.toml +++ b/ccxt-core/Cargo.toml @@ -84,7 +84,7 @@ default = ["rustls-tls", "websocket"] # TLS implementations (mutually exclusive, choose one) rustls-tls = [ - "reqwest/rustls-tls", + "reqwest/rustls", "tokio-tungstenite?/rustls-tls-native-roots", "tokio-tungstenite?/connect" ] diff --git a/ccxt-exchanges/Cargo.toml b/ccxt-exchanges/Cargo.toml index 0d60f06..d7abd27 100644 --- a/ccxt-exchanges/Cargo.toml +++ b/ccxt-exchanges/Cargo.toml @@ -70,7 +70,7 @@ default = ["binance", "rustls-tls", "websocket"] # TLS implementations (mutually exclusive, choose one) rustls-tls = [ "ccxt-core/rustls-tls", - "reqwest/rustls-tls", + "reqwest/rustls", "tokio-tungstenite?/rustls-tls-native-roots", "tokio-tungstenite?/connect" ]