From 0a761be662bb104567a1594188f83c214d02fa2e Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 1 Mar 2024 16:58:46 +0800 Subject: [PATCH] build: use patched version of aws-sdk-ec2 --- Cargo.lock | 50 +++++++++++++++++++++++++------------------------- Cargo.toml | 3 ++- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b42535e16b52..7f6d0d0a4e33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1040,30 +1040,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "aws-sdk-ec2" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88111ec31c6a3b9ed890f345b063bc2c76b49897e0c4601f6b1350c95d8d96d6" -dependencies = [ - "aws-credential-types", - "aws-http", - "aws-runtime", - "aws-smithy-async", - "aws-smithy-http", - "aws-smithy-json", - "aws-smithy-query", - "aws-smithy-runtime", - "aws-smithy-runtime-api", - "aws-smithy-types", - "aws-smithy-xml", - "aws-types", - "fastrand 2.0.1", - "http 0.2.9", - "regex", - "tracing", -] - [[package]] name = "aws-sdk-kinesis" version = "1.1.0" @@ -9626,7 +9602,6 @@ dependencies = [ "assert_matches", "async-trait", "aws-config", - "aws-sdk-ec2", "axum", "base64-url", "bytes", @@ -9671,6 +9646,7 @@ dependencies = [ "risingwave_rpc_client", "risingwave_sqlparser", "risingwave_test_runner", + "rw-aws-sdk-ec2", "rw_futures_util", "scopeguard", "sea-orm", @@ -10509,6 +10485,30 @@ dependencies = [ "wait-timeout", ] +[[package]] +name = "rw-aws-sdk-ec2" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80dba3602b267a7f9dcc546ccbf1d05752447773146253c7e344e2a320630b7f" +dependencies = [ + "aws-credential-types", + "aws-http", + "aws-runtime", + "aws-smithy-async", + "aws-smithy-http", + "aws-smithy-json", + "aws-smithy-query", + "aws-smithy-runtime", + "aws-smithy-runtime-api", + "aws-smithy-types", + "aws-smithy-xml", + "aws-types", + "fastrand 2.0.1", + "http 0.2.9", + "regex", + "tracing", +] + [[package]] name = "rw_futures_util" version = "0.0.0" diff --git a/Cargo.toml b/Cargo.toml index 262c5ff423eb..38ee801b39a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -90,7 +90,8 @@ aws-sdk-s3 = { version = "1", default-features = false, features = [ "rt-tokio", "rustls", ] } -aws-sdk-ec2 = { version = "1", default-features = false, features = [ +# To bump the version of aws-sdk-ec2, check the README of https://github.com/risingwavelabs/rw-aws-sdk-ec2 +aws-sdk-ec2 = { package = "rw-aws-sdk-ec2", version = "1", default-features = false, features = [ "rt-tokio", "rustls", ] }