From 9c20f00b100197b3f999a269d7545ea7905be1bc Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Wed, 24 Jan 2024 16:38:28 +0100 Subject: Set AWS SDK behaviour version to latest in code --- rs/server/Cargo.toml | 2 +- rs/server/src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'rs/server') diff --git a/rs/server/Cargo.toml b/rs/server/Cargo.toml index c437597..a784bf8 100644 --- a/rs/server/Cargo.toml +++ b/rs/server/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -aws-config = { version = "1.1.2", features = ["behavior-version-latest"] } +aws-config = { version = "1.1.2" } aws-sdk-s3 = "1.12.0" axum = "0.7" base64 = "0.21" diff --git a/rs/server/src/main.rs b/rs/server/src/main.rs index 76e447d..2051b62 100644 --- a/rs/server/src/main.rs +++ b/rs/server/src/main.rs @@ -149,6 +149,7 @@ fn get_s3_client(env: &Env) -> Result { "gitolfs3-env", ); let config = aws_config::SdkConfig::builder() + .behavior_version(aws_config::BehaviorVersion::latest()) .endpoint_url(&env.s3_endpoint) .credentials_provider(aws_sdk_s3::config::SharedCredentialsProvider::new( credentials, -- cgit v1.2.3