Skip to content

Commit 73c2998

Browse files
committed
upgrade aws-sdk
1 parent dd66a73 commit 73c2998

File tree

4 files changed

+52
-52
lines changed

4 files changed

+52
-52
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ getrandom = "0.2.1"
7171
# Async
7272
tokio = { version = "1.0", features = ["rt-multi-thread"] }
7373
futures-util = "0.3.5"
74-
aws-config = "0.48.0"
75-
aws-sdk-s3 = "0.18.0"
76-
aws-sdk-cloudfront = "0.18.0"
77-
aws-smithy-types-convert = { version = "0.48.0", features = ["convert-chrono"] }
74+
aws-config = "0.49.0"
75+
aws-sdk-s3 = "0.19.0"
76+
aws-sdk-cloudfront = "0.19.0"
77+
aws-smithy-types-convert = { version = "0.49.0", features = ["convert-chrono"] }
7878
http = "0.2.6"
7979
uuid = "1.1.2"
8080

@@ -116,8 +116,8 @@ rand = "0.8"
116116
mockito = "0.31.0"
117117
test-case = "2.0.0"
118118
fn-error-context = "0.2.0"
119-
aws-smithy-client = { version = "0.48.0", features = ["test-util"]}
120-
aws-smithy-http = "0.48.0"
119+
aws-smithy-client = { version = "0.49.0", features = ["test-util"]}
120+
aws-smithy-http = "0.49.0"
121121
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
122122

123123
[build-dependencies]

src/cdn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl CdnBackend {
3333
CdnKind::CloudFront => {
3434
let shared_config = runtime.block_on(aws_config::load_from_env());
3535
let config_builder = aws_sdk_cloudfront::config::Builder::from(&shared_config)
36-
.retry_config(RetryConfig::new().with_max_attempts(3));
36+
.retry_config(RetryConfig::standard().with_max_attempts(3));
3737

3838
Self::CloudFront {
3939
runtime: runtime.clone(),

src/storage/s3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl S3Backend {
3333
) -> Result<Self, Error> {
3434
let shared_config = runtime.block_on(aws_config::load_from_env());
3535
let mut config_builder = aws_sdk_s3::config::Builder::from(&shared_config)
36-
.retry_config(RetryConfig::new().with_max_attempts(3))
36+
.retry_config(RetryConfig::standard().with_max_attempts(3))
3737
.region(Region::new(config.s3_region.clone()));
3838

3939
if let Some(ref endpoint) = config.s3_endpoint {

0 commit comments

Comments
 (0)