diff --git a/Cargo.lock b/Cargo.lock index 2e932d01..b1d5ec67 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -723,7 +723,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -1103,9 +1103,8 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4" +version = "0.14.32" +source = "git+https://github.com/ulyssa/hyper.git?rev=326ce54#326ce5429b94de30b3f298d656d5d81a523cf14a" dependencies = [ "bytes", "futures-channel", @@ -1565,7 +1564,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -2048,7 +2047,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.11.0", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2410,7 +2409,7 @@ dependencies = [ "getrandom 0.3.4", "once_cell", "rustix 1.1.2", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -3469,7 +3468,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index bab65881..3e9e533c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -105,7 +105,7 @@ opt-level = 1 anyhow = "1.0.31" base64 = "0.21.2" clap = { version = "^4.0.18", features = ["derive"] } -hyper = { version = "=0.14.26", features = ["full"] } +hyper = { git = "https://github.com/ulyssa/hyper.git", rev = "326ce54", features = ["full"] } itertools = "0.10.5" pin-project = "1.0.8" rustls = { version = "0.21.5", features = ["dangerous_configuration"] } @@ -128,3 +128,6 @@ wat = "1.212.0" wasmparser = "0.236.0" wasm-encoder = { version = "0.236.0", features = ["wasmparser"] } wit-component = "0.236.0" + +[patch.'crates-io'] +hyper = { git = "https://github.com/ulyssa/hyper.git", rev = "326ce54" } diff --git a/cli/tests/trap-test/Cargo.lock b/cli/tests/trap-test/Cargo.lock index 42879e5f..6e00648f 100644 --- a/cli/tests/trap-test/Cargo.lock +++ b/cli/tests/trap-test/Cargo.lock @@ -1102,9 +1102,8 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4" +version = "0.14.32" +source = "git+https://github.com/ulyssa/hyper.git?rev=326ce54#326ce5429b94de30b3f298d656d5d81a523cf14a" dependencies = [ "bytes", "futures-channel", diff --git a/cli/tests/trap-test/Cargo.toml b/cli/tests/trap-test/Cargo.toml index 13c0ff0a..719bea22 100644 --- a/cli/tests/trap-test/Cargo.toml +++ b/cli/tests/trap-test/Cargo.toml @@ -11,7 +11,7 @@ publish = false anyhow = "1.0.31" futures = "0.3.0" http = "0.2.1" -hyper = "=0.14.26" +hyper = { git = "https://github.com/ulyssa/hyper.git", rev = "326ce54", features = ["full"] } tokio = { version = "1.2", features = ["full"] } tracing-subscriber = "0.2.19" viceroy-lib = { path = "../../..", features = ["test-fatalerror-config"] } @@ -19,3 +19,6 @@ viceroy-lib = { path = "../../..", features = ["test-fatalerror-config"] } # To indicate to cargo that this trap-test is not a member of the testing workspace specified by # ~/cli/tests/fixtures/Cargo.toml, place an empty workspace specification here. [workspace] + +[patch.'crates-io'] +hyper = { git = "https://github.com/ulyssa/hyper.git", rev = "326ce54" }