From 13d512a7b43c6c7db3c8fdb86ba589296b2260e0 Mon Sep 17 00:00:00 2001 From: Toshit Chawda Date: Wed, 7 Feb 2024 19:27:16 -0800 Subject: [PATCH] use hyper-util-wasm crate instead of git --- Cargo.lock | 22 +++++++++++++++++++++- wisp/Cargo.toml | 8 ++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a3e6590..d433f76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,6 +746,26 @@ dependencies = [ "wasmtimer", ] +[[package]] +name = "hyper-util-wasm" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d75266d8a7846ac2878c0337387caeb96b75d7a2ebe58317611df0f8f0861ee" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "hyper", + "pin-project-lite", + "tower", + "tower-service", + "tracing", + "wasm-bindgen", + "wasmtimer", +] + [[package]] name = "indexmap" version = "2.2.2" @@ -1868,7 +1888,7 @@ dependencies = [ "futures", "futures-util", "hyper", - "hyper-util 0.1.3 (git+https://github.com/r58Playz/hyper-util-wasm)", + "hyper-util-wasm", "pin-project-lite", "tokio", "tower-service", diff --git a/wisp/Cargo.toml b/wisp/Cargo.toml index ede3cd0..cf0db2b 100644 --- a/wisp/Cargo.toml +++ b/wisp/Cargo.toml @@ -1,6 +1,10 @@ [package] name = "wisp-mux" version = "1.0.0" +description = "A library for easily creating Wisp servers and clients." +homepage = "https://github.com/MercuryWorkshop/epoxy-tls/tree/multiplexed/wisp" +repository = "https://github.com/MercuryWorkshop/epoxy-tls/tree/multiplexed/wisp" +readme = "https://github.com/MercuryWorkshop/epoxy-tls/tree/multiplexed/wisp/README.md" edition = "2021" [dependencies] @@ -11,7 +15,7 @@ fastwebsockets = { version = "0.6.0", features = ["unstable-split"], optional = futures = "0.3.30" futures-util = "0.3.30" hyper = { version = "1.1.0", optional = true } -hyper-util = { git = "https://github.com/r58Playz/hyper-util-wasm", features = ["client", "client-legacy"], optional = true } +hyper-util-wasm = { version = "0.1.3", features = ["client", "client-legacy"], optional = true } pin-project-lite = "0.2.13" tokio = { version = "1.35.1", optional = true, default-features = false } tower-service = { version = "0.3.2", optional = true } @@ -21,5 +25,5 @@ ws_stream_wasm = { version = "0.7.4", optional = true } fastwebsockets = ["dep:fastwebsockets", "dep:tokio"] ws_stream_wasm = ["dep:ws_stream_wasm"] tokio_io = ["async_io_stream/tokio_io"] -hyper_tower = ["dep:tower-service", "dep:hyper", "dep:tokio", "dep:hyper-util"] +hyper_tower = ["dep:tower-service", "dep:hyper", "dep:tokio", "dep:hyper-util-wasm"]