diff --git a/Cargo.lock b/Cargo.lock --- a/Cargo.lock +++ b/Cargo.lock @@ -2310,7 +2310,6 @@ "anyhow", "aws-config", "aws-sdk-dynamodb", - "aws-types", "clap", "comm-lib", "http", diff --git a/Cargo.toml b/Cargo.toml --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,6 @@ aws-sdk-dynamodb = "0.27.0" aws-sdk-s3 = "0.27" aws-sdk-secretsmanager = "0.27" -aws-types = "0.55" base64 = "0.21.2" bincode = "1.3.3" bytes = "1.4" diff --git a/services/feature-flags/Cargo.toml b/services/feature-flags/Cargo.toml --- a/services/feature-flags/Cargo.toml +++ b/services/feature-flags/Cargo.toml @@ -10,7 +10,6 @@ actix-web = { workspace = true } anyhow = { workspace = true } aws-config = { workspace = true } -aws-types = { workspace = true } aws-sdk-dynamodb = { workspace = true } clap = { workspace = true, features = ["derive", "env"] } comm-lib = { path = "../../shared/comm-lib", features = [ diff --git a/services/feature-flags/src/config.rs b/services/feature-flags/src/config.rs --- a/services/feature-flags/src/config.rs +++ b/services/feature-flags/src/config.rs @@ -21,7 +21,7 @@ Lazy::force(&CONFIG); } -pub async fn load_aws_config() -> aws_types::SdkConfig { +pub async fn load_aws_config() -> aws_config::SdkConfig { let mut config_builder = aws_config::from_env(); if let Some(endpoint) = &CONFIG.localstack_endpoint { diff --git a/services/feature-flags/src/database.rs b/services/feature-flags/src/database.rs --- a/services/feature-flags/src/database.rs +++ b/services/feature-flags/src/database.rs @@ -76,7 +76,7 @@ } impl DatabaseClient { - pub fn new(aws_config: &aws_types::SdkConfig) -> Self { + pub fn new(aws_config: &aws_config::SdkConfig) -> Self { DatabaseClient { client: Arc::new(aws_sdk_dynamodb::Client::new(aws_config)), }