forked from tikv/tikv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws: switch to aws-sdk (tikv#13814) (tikv#17833)
close tikv#12371 * switch kms to aws_sdk lib * switch s3 to aws_sdk lib Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: 3pointer <[email protected]> Co-authored-by: Andrey Koshchiy <[email protected]> Co-authored-by: 3pointer <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
7a168a5
commit 9df0e73
Showing
10 changed files
with
1,922 additions
and
1,020 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,18 @@ failpoints = ["fail/failpoints"] | |
|
||
[dependencies] | ||
async-trait = "0.1" | ||
|
||
aws-config = { version = "1", features = [], default-features = false } | ||
aws-credential-types = { version = "1", features = ["hardcoded-credentials"] } | ||
# Note: [email protected], [email protected] and [email protected] is the latest version that supports rustc 1.77... | ||
# We may update this after we update our rustc. | ||
aws-sdk-kms = { version = "=1.40.0", features = [], default-features = false } | ||
aws-sdk-s3 = { version = "=1.40.0", features = ["rt-tokio"], default-features = false } | ||
|
||
aws-smithy-runtime = { version = "1", features = [ "client", "connector-hyper-0-14-x" ], default-features = false } | ||
aws-smithy-runtime-api = { version = "1", features = [], default-features = false } | ||
aws-smithy-types = { version = "1", features = ["byte-stream-poll-next"] } | ||
|
||
base64 = "0.13.0" | ||
bytes = "1.0" | ||
cloud = { workspace = true } | ||
|
@@ -19,22 +31,25 @@ futures-util = { version = "0.3", default-features = false, features = ["io"] } | |
# This is only a dependency to vendor openssl for rusoto. It's not clear exactly | ||
# how openssl is built for tikv, but it seems to be controlled by grpcio. This | ||
# makes `cargo test -p aws` link correctly. | ||
grpcio = { workspace = true } | ||
http = "0.2.0" | ||
hyper = "0.14" | ||
hyper-tls = { version = "0.5" } | ||
kvproto = { workspace = true } | ||
md5 = "0.7.0" | ||
rusoto_core = "0.46.0" | ||
rusoto_credential = "0.46.0" | ||
rusoto_kms = { version = "0.46.0", features = ["serialize_structs"] } | ||
rusoto_s3 = { version = "0.46.0", features = ["serialize_structs"] } | ||
rusoto_sts = "0.46.0" | ||
prometheus = { version = "0.13", default-features = false, features = ["nightly"] } | ||
slog = { workspace = true } | ||
slog-global = { workspace = true } | ||
thiserror = "1.0" | ||
tikv_util = { workspace = true } | ||
# better to not use slog-global, but pass in the logger | ||
tokio = { version = "1.5", features = ["time"] } | ||
tokio-util = { version = "0.7" } | ||
url = "2.0" | ||
uuid = { version = "0.8", features = ["v4"] } | ||
|
||
[dev-dependencies] | ||
aws-smithy-runtime = { version = "1.4.0", features = ["test-util", "client"] } | ||
base64 = "0.13" | ||
futures = "0.3" | ||
rusoto_mock = "0.46.0" | ||
tokio = { version = "1.5", features = ["macros"] } |
Oops, something went wrong.