Created
January 24, 2020 21:06
-
-
Save jen20/29e7ea437b763c06eb21187d7953c1fc to your computer and use it in GitHub Desktop.
Patch to change some dependency versions in Rusoto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 53e4a37039ecf5ee461e9f47b262e1d6349a23eb Mon Sep 17 00:00:00 2001 | |
From: James Nugent <[email protected]> | |
Date: Fri, 24 Jan 2020 21:04:58 +0000 | |
Subject: [PATCH] Upgrade warp to prevent Tokio 0.1 dependency, pin Tokio to | |
0.2 rather than a point release | |
--- | |
rusoto/credential_service_mock/Cargo.toml | 2 +- | |
rusoto/credential_service_mock/src/main.rs | 2 +- | |
rusoto/signature/Cargo.toml | 2 +- | |
3 files changed, 3 insertions(+), 3 deletions(-) | |
diff --git a/rusoto/credential_service_mock/Cargo.toml b/rusoto/credential_service_mock/Cargo.toml | |
index 8d750677e..85a17402d 100644 | |
--- a/rusoto/credential_service_mock/Cargo.toml | |
+++ b/rusoto/credential_service_mock/Cargo.toml | |
@@ -5,4 +5,4 @@ authors = ["Matthew Mayer <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
-warp = "0.1" | |
+warp = "0.2" | |
diff --git a/rusoto/credential_service_mock/src/main.rs b/rusoto/credential_service_mock/src/main.rs | |
index b691c3ea5..4a535b8fe 100644 | |
--- a/rusoto/credential_service_mock/src/main.rs | |
+++ b/rusoto/credential_service_mock/src/main.rs | |
@@ -16,7 +16,7 @@ fn main() { | |
}"# | |
}); | |
- let routes = warp::get2() | |
+ let routes = warp::get() | |
.and(instance_profile_creds) | |
.or(instance_profile_role); | |
diff --git a/rusoto/signature/Cargo.toml b/rusoto/signature/Cargo.toml | |
index dabe08c8e..83b23cf8d 100644 | |
--- a/rusoto/signature/Cargo.toml | |
+++ b/rusoto/signature/Cargo.toml | |
@@ -38,7 +38,7 @@ sha2 = "0.8.0" | |
time = "0.2" | |
pin-project = "0.4" | |
percent-encoding = "2.1.0" | |
-tokio = "0.2.5" | |
+tokio = "0.2" | |
[dependencies.rusoto_credential] | |
path = "../credential" | |
-- | |
2.25.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment