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

Commit 5eb2476

Browse files
Remove explicit hyper dependency
We depend on hyper implicitely through warp. Removing the explicit dependency avoids problems with dependabot wanting to update it even though the dependency needs to be kept in sync with the transitive one.
1 parent d1fb80e commit 5eb2476

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cnd/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ futures-core = { version = "=0.3.0-alpha.19", features = ["alloc", "compat", "as
3131
hex = "0.4"
3232
hex-serde = "0.1.0"
3333
http-api-problem = "0.13"
34-
hyper = "0.12"
3534
lazy_static = "1"
3635
libp2p = { version = "0.13" }
37-
libp2p-core = { version = "0.13" }
3836
libp2p-comit = { path = "../libp2p-comit" }
37+
libp2p-core = { version = "0.13" }
3938
libsqlite3-sys = { version = ">=0.8.0, <0.13.0", features = ["bundled"] }
4039
log = { version = "0.4", features = ["serde"] }
4140
maplit = "1"

cnd/src/http_api/routes/rfc003/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ use crate::{
2222
};
2323
use futures::Future;
2424
use futures_core::future::{FutureExt, TryFutureExt};
25-
use hyper::header;
26-
use warp::{http, Rejection, Reply};
25+
use warp::{
26+
http::{self, header},
27+
Rejection, Reply,
28+
};
2729

2830
pub use self::swap_state::{LedgerState, SwapCommunication, SwapCommunicationState, SwapState};
2931
use crate::{db::Saver, http_api::problem};

0 commit comments

Comments
 (0)