Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ futures-util = "0.3"
async-trait = "0.1"

# HTTP & WebSocket
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls", "gzip"] }
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls", "gzip", "stream"] }
tokio-tungstenite = { version = "0.28", default-features = false, features = ["rustls-tls-native-roots", "connect"] }

# Serialization
Expand Down Expand Up @@ -72,7 +72,6 @@ parking_lot = "0.12"
url = "2.5"
urlencoding = "2.1"
regex = "1.10"
lazy_static = "1.4"
bitflags = "2.9"

# Security
Expand Down Expand Up @@ -140,7 +139,6 @@ once_cell = { workspace = true }
parking_lot = { workspace = true }
url = { workspace = true }
regex = { workspace = true }
lazy_static = { workspace = true }
paste = { workspace = true }

[[bin]]
Expand Down
1 change: 1 addition & 0 deletions ccxt-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ once_cell = { workspace = true }
parking_lot = { workspace = true }
url = { workspace = true }
urlencoding = { workspace = true }
regex = { workspace = true }

# Security
zeroize = { workspace = true }
Expand Down
2 changes: 2 additions & 0 deletions ccxt-core/src/base_exchange/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ impl BaseExchange {
strategy_type: crate::retry_strategy::RetryStrategyType::Fixed,
..crate::retry_strategy::RetryConfig::default()
}),
max_response_size: 10 * 1024 * 1024, // 10MB default
circuit_breaker: None, // Disabled by default for backward compatibility
};

let mut http_client = HttpClient::new(http_config)?;
Expand Down
Loading