Skip to content

Commit

Permalink
fix: Add tcp feature to hyper
Browse files Browse the repository at this point in the history
Prevents `executor must be set` panic when hyper with tcp enabled is not already in the dependencies of the project
  • Loading branch information
threema-donat committed Apr 10, 2024
1 parent 11f3d75 commit 698b534
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ erased-serde = "0.3"
serde_json = "1"
thiserror = "1"
openssl = { version = "0.10", optional = true }
hyper = { version = "0.14", default-features = false, features = ["client", "http2"] }
hyper = { version = "0.14", default-features = false, features = ["client", "http2", "tcp"] }
hyper-alpn = "0.4"
http = "0.2"
base64 = "0.20"
Expand All @@ -39,4 +39,3 @@ ring = { version = "0.16", features = ["std"], optional = true }
argparse = "0.2"
tracing-subscriber = "0.3"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
hyper = { version = "0.14", features = ["client", "http2", "tcp"] }

0 comments on commit 698b534

Please sign in to comment.