Skip to content

Commit

Permalink
deps: use reqwest with rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Nov 28, 2023
1 parent 93c8ef0 commit e16ad96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions crates/mev-share-sse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mev-share-sse"
version = "0.1.5"
version = "0.1.6"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
Expand All @@ -15,7 +15,7 @@ ethers-core.workspace = true

## async
async-sse = "5.1"
reqwest = { version = "0.11", features = ["stream", "json"] }
reqwest = { version = "0.11", default-features = false, features = ["stream", "json"] }
futures-util = { workspace = true, features = ["io"] }
http-types = { version = "2.12", default-features = false }
tower = { workspace = true, optional = true }
Expand All @@ -34,6 +34,9 @@ tokio = { workspace = true, features = ["time"] }
tracing.workspace = true

[features]
default = ["rustls"]
rustls = ["reqwest/rustls"]
native-tls = ["reqwest/native-tls"]
server = ["hyper", "http", "tokio-stream", "tokio-util", "tower"]

[dev-dependencies]
Expand Down

0 comments on commit e16ad96

Please sign in to comment.