Skip to content
Open
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions relay_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ edition = "2021"
license = "Apache-2.0"

[features]
default = ["tokio-tungstenite/native-tls"]
rustls = ["tokio-tungstenite/rustls-tls-native-roots"]
default = ["tokio-tungstenite/native-tls", "reqwest/default-tls"]
rustls = ["tokio-tungstenite/rustls-tls-native-roots", "reqwest/rustls-tls"]

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added reqwest/rustls-tls-native-roots in 8a1fc2f to align with the existing tokio-tungstenite/rustls-tls-native-roots.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the existing pattern in the project, so I didn't want to introduce a breaking change here.


[dependencies]
relay_rpc = { path = "../relay_rpc" }
Expand All @@ -21,7 +21,7 @@ url = "2.3"
http = "1.0"

# HTTP client dependencies.
reqwest = { version = "0.12", features = ["json"] }
reqwest = { version = "0.12", default-features = false, features = ["charset", "http2", "json", "system-proxy"] }

# WebSocket client dependencies.
tokio = { version = "1.47", features = ["rt", "time", "sync", "macros", "rt-multi-thread"] }
Expand Down