Skip to content

Commit

Permalink
disable reqwest default-tls,
Browse files Browse the repository at this point in the history
and allow downstream crates to choose their tls flavor
  • Loading branch information
jxs committed Sep 21, 2023
1 parent 3c14c21 commit 26429d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions beacon-api-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ license = "MIT OR Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["cli"]
default = ["cli", "reqwest/native-tls"]
cli = ["clap"]
rustls = ["reqwest/rustls-tls"]

[dependencies]
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
reqwest = { version = "0.11.10", features = ["json", "native-tls-vendored"] }
reqwest = { version = "0.11.10", default-features = false, features = ["json"] }
url = "2.2.2"
http = "0.2.7"

Expand Down

0 comments on commit 26429d7

Please sign in to comment.