Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

Commit 1be3bb3

Browse files
committed
fix: remove the direct hyper dep from http
Signed-off-by: ljedrz <[email protected]>
1 parent 282932d commit 1be3bb3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

http/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ bytes = { default-features = false, version = "0.5" }
1616
cid = { default-features = false, version = "0.5" }
1717
futures = { default-features = false, version = "0.3" }
1818
humantime = { default-features = false, version = "2.0" }
19-
hyper = { default-features = false, version = "0.13" }
2019
ipfs = { path = "../" }
2120
mime = { default-features = false, version = "0.3" }
2221
mpart-async = { default-features = false, version = "0.4" }

http/src/v0/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ async fn list_inner<T: IpfsTypes>(
254254
}
255255
}
256256

257-
fn format_json_newline<St, T, E>(st: St) -> warp::http::Response<hyper::body::Body>
257+
fn format_json_newline<St, T, E>(st: St) -> warp::http::Response<warp::hyper::Body>
258258
where
259259
St: futures::stream::Stream<Item = Result<T, E>> + Send + 'static,
260260
T: Serialize + Send + 'static,

0 commit comments

Comments
 (0)