Skip to content

Commit

Permalink
substrate-offchain: upgrade hyper to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyuVanilla committed Oct 3, 2024
1 parent 8614dc0 commit e3e320d
Show file tree
Hide file tree
Showing 5 changed files with 230 additions and 96 deletions.
118 changes: 107 additions & 11 deletions Cargo.lock

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

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -800,10 +800,8 @@ http = { version = "1.1" }
http-body = { version = "1", default-features = false }
http-body-util = { version = "0.1.2", default-features = false }
hyper = { version = "1.3.1", default-features = false }
hyper-rustls = { version = "0.24.2" }
hyper-rustls = { version = "0.27.3" }
hyper-util = { version = "0.1.5", default-features = false }
# TODO: remove hyper v0.14 https://github.com/paritytech/polkadot-sdk/issues/4896
hyperv14 = { package = "hyper", version = "0.14.29", default-features = false }
impl-serde = { version = "0.4.0", default-features = false }
impl-trait-for-tuples = { version = "0.2.2" }
indexmap = { version = "2.0.0" }
Expand Down
7 changes: 3 additions & 4 deletions substrate/client/offchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ codec = { features = ["derive"], workspace = true, default-features = true }
fnv = { workspace = true }
futures = { workspace = true }
futures-timer = { workspace = true }
hyperv14 = { features = [
"http2",
"stream",
], workspace = true, default-features = true }
http-body-util = { workspace = true }
hyper = { features = ["http2"], workspace = true, default-features = true }
hyper-rustls = { features = ["http2"], workspace = true }
hyper-util = { features = ["client-legacy"], workspace = true }
num_cpus = { workspace = true }
once_cell = { workspace = true }
parking_lot = { workspace = true, default-features = true }
Expand Down
Loading

0 comments on commit e3e320d

Please sign in to comment.