Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33075302
D12173.1768447385.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D12173.1768447385.diff
View Options
diff --git a/Cargo.lock b/Cargo.lock
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1248,7 +1248,6 @@
"async-stream",
"aws-config",
"aws-sdk-dynamodb",
- "aws-types",
"bincode",
"chrono",
"clap",
diff --git a/services/backup/Cargo.toml b/services/backup/Cargo.toml
--- a/services/backup/Cargo.toml
+++ b/services/backup/Cargo.toml
@@ -11,7 +11,6 @@
async-stream = { workspace = true }
aws-config = { workspace = true }
aws-sdk-dynamodb = { workspace = true }
-aws-types = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true, features = ["derive", "env"] }
comm-lib = { path = "../../shared/comm-lib", features = [
diff --git a/services/backup/src/config.rs b/services/backup/src/config.rs
--- a/services/backup/src/config.rs
+++ b/services/backup/src/config.rs
@@ -32,7 +32,7 @@
}
/// Provides region/credentials configuration for AWS SDKs
-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/backup/src/database/mod.rs b/services/backup/src/database/mod.rs
--- a/services/backup/src/database/mod.rs
+++ b/services/backup/src/database/mod.rs
@@ -25,7 +25,7 @@
}
impl DatabaseClient {
- pub fn new(aws_config: &aws_types::SdkConfig) -> Self {
+ pub fn new(aws_config: &aws_config::SdkConfig) -> Self {
DatabaseClient {
client: aws_sdk_dynamodb::Client::new(aws_config),
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 3:23 AM (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5931995
Default Alt Text
D12173.1768447385.diff (1 KB)
Attached To
Mode
D12173: [backup] Remove unnecessary aws_types dependency
Attached
Detach File
Event Timeline
Log In to Comment