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

Commit 8b681d8

Browse files
Merge #1757 #1761
1757: Ignore tokio for dependabot r=thomaseizinger a=thomaseizinger 1761: Remove explicit hyper dependency r=thomaseizinger a=thomaseizinger 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. Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
3 parents 8919479 + 0cd6672 + 5eb2476 commit 8b681d8

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.dependabot/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ update_configs:
2727
# this needs updating based on the tokio_codec version
2828
- match:
2929
dependency_name: "bytes"
30+
# until all our code is async/await ready, we cannot update tokio through dependabot
31+
- match:
32+
dependency_name: "tokio"
3033
- package_manager: "javascript"
3134
directory: "/api_tests"
3235
update_schedule: "daily"

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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ futures-core = { version = "=0.3.0-alpha.19", features = ["alloc", "compat", "as
2828
hex = "0.4"
2929
hex-serde = "0.1.0"
3030
http-api-problem = "0.13"
31-
hyper = "0.12"
3231
lazy_static = "1"
3332
libp2p = { version = "0.13" }
3433
libp2p-comit = { path = "../libp2p-comit" }

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)