Skip to content

Commit

Permalink
Lock dependency on hyper to a single version (#6733)
Browse files Browse the repository at this point in the history
Currently Cargo's interpretation of prerelease version doesn't quite
match semver's, meaning that hyper, which is taking semver's
interpretation, has broken Wasmtime builds without lock files. The rc.4
version of hyper released is no longer compatible with our
usage which means that `cargo install wasmtime-cli` currently fails. It
passes, however, with `--locked`.

To resolve this the dependency on hyper gets an `=` dependency for now
to force it to be at this version.
  • Loading branch information
alexcrichton committed Jul 17, 2023
1 parent b5f9832 commit deccddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasi-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "Experimental HTTP library for WebAssembly in Wasmtime"
[dependencies]
anyhow = { workspace = true }
bytes = "1.1.0"
hyper = { version = "1.0.0-rc.3", features = ["full"] }
hyper = { version = "=1.0.0-rc.3", features = ["full"] }
tokio = { version = "1", default-features = false, features = ["net", "rt-multi-thread", "time"] }
http = { version = "0.2.9" }
http-body = "1.0.0-rc.2"
Expand Down

0 comments on commit deccddf

Please sign in to comment.