Skip to content

Commit

Permalink
Rust: update example Cargo files to use 1.0 released SDKs! (awsdocs#5711
Browse files Browse the repository at this point in the history
)

* Rust: update example Cargo files to use 1.0 released SDKs!
  • Loading branch information
DavidSouther authored and meyertst-aws committed Jan 4, 2024
1 parent f7e4275 commit 365ab77
Show file tree
Hide file tree
Showing 70 changed files with 341 additions and 215 deletions.
8 changes: 4 additions & 4 deletions rustv1/cross_service/detect_faces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-rekognition = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["rt-tokio"] }
aws-config = "1.0.1"
aws-sdk-rekognition = "1.2.0"
aws-sdk-s3 = "1.2.0"
aws-smithy-types = { features = ["rt-tokio"], version = "1.0.1"}
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
10 changes: 5 additions & 5 deletions rustv1/cross_service/detect_labels/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-rekognition = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["rt-tokio"] }
aws-config = "1.0.1"
aws-sdk-dynamodb = "1.2.0"
aws-sdk-rekognition = "1.2.0"
aws-sdk-s3 = "1.2.0"
aws-smithy-types = { features = ["rt-tokio"], version = "1.0.1"}
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
16 changes: 8 additions & 8 deletions rustv1/cross_service/photo_asset_management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ _HANDLER = "labels"

[dependencies]
anyhow = "1.0.70"
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-rekognition = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-sns = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-http = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-runtime = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types-convert ={ git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["convert-chrono"] }
aws-config = "1.0.1"
aws-sdk-dynamodb = "1.2.0"
aws-sdk-rekognition = "1.2.0"
aws-sdk-s3 = "1.2.0"
aws-sdk-sns = "1.2.0"
aws-smithy-http = "0.60.0"
aws-smithy-runtime = "1.0.1"
aws-smithy-types-convert ={ features = ["convert-chrono"], version = "0.60.0"}
aws_lambda_events = { version = "0.11.1", features = ["s3", "apigw"], default-features = false }
bytes = "1.4.0"
chrono = "0.4.24"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"


[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-rekognition = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = "1.0.1"
aws-sdk-dynamodb = "1.2.0"
aws-sdk-rekognition = "1.2.0"
photo_asset_management = { path = "../"}
tokio = { version = "1.27.0", features = ["macros"] }
tracing = "0.1.37"
Expand Down
16 changes: 8 additions & 8 deletions rustv1/cross_service/rest_ses/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ name = "rest_ses"
[dependencies]
actix-web = "4"
actix-web-prom = "0.6.0"
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-cloudwatchlogs = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-rdsdata = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-ses = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-runtime = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = "1.0.1"
aws-sdk-cloudwatchlogs = "1.2.0"
aws-sdk-rdsdata = "1.2.0"
aws-sdk-ses = "1.2.0"
aws-smithy-types = "1.0.1"
aws-smithy-runtime = "1.0.1"
chrono = { version = "0.4.22", default-features = false, features = [
"clock",
"serde",
Expand All @@ -46,8 +46,8 @@ uuid = { version = "1.2.1", features = ["v4", "serde"] }
xlsxwriter = "0.6.0"

[dev-dependencies]
aws-smithy-runtime = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-http = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-runtime = "1.0.1"
aws-smithy-http = "0.60.0"
fake = { version = "2.5.0", features = ["uuid"] }
once_cell = "1.15.0"
rand = "0.8.5"
Expand Down
10 changes: 5 additions & 5 deletions rustv1/cross_service/telephone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-polly = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-transcribe = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["rt-tokio"] }
aws-config = "1.0.1"
aws-sdk-polly = "1.2.0"
aws-sdk-s3 = "1.2.0"
aws-sdk-transcribe = "1.2.0"
aws-smithy-types = { features = ["rt-tokio"], version = "1.0.1"}
anyhow = "1"
tokio = { version = "1.20.1", features = ["full"] }
bytes = "1"
Expand Down
8 changes: 4 additions & 4 deletions rustv1/examples/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-apigateway = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types-convert = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = [
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-apigateway = "1.2.0"
aws-smithy-types-convert = { features = [
"convert-chrono",
] }
], version = "0.60.0"}
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1.20.1", features = ["full"] }
Expand Down
4 changes: 2 additions & 2 deletions rustv1/examples/apigatewaymanagement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-apigatewaymanagement = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-apigatewaymanagement = "1.2.0"
http = "0.2.5"
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions rustv1/examples/applicationautoscaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-applicationautoscaling = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-applicationautoscaling = "1.2.0"
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
8 changes: 4 additions & 4 deletions rustv1/examples/aurora/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ version = "0.1.0"
[dependencies]
anyhow = "1.0.75"
assert_matches = "1.5.0"
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-smithy-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-runtime-api = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-rds = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-smithy-types = "1.0.1"
aws-smithy-runtime-api = "1.0.1"
aws-sdk-rds = "1.2.0"
inquire = "0.6.2"
mockall = "0.11.4"
phf = { version = "0.11.2", features = ["std", "macros"] }
Expand Down
6 changes: 3 additions & 3 deletions rustv1/examples/auto-scaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-autoscaling = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-ec2 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-autoscaling = "1.2.0"
aws-sdk-ec2 = "1.2.0"
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
5 changes: 2 additions & 3 deletions rustv1/examples/auto-scaling/src/scenario.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use std::{
};

use anyhow::anyhow;
use aws_config::SdkConfig;
use aws_sdk_autoscaling::{
error::{DisplayErrorContext, ProvideErrorMetadata},
types::{Activity, AutoScalingGroup, LaunchTemplateSpecification},
Expand Down Expand Up @@ -187,9 +188,7 @@ impl Display for ScenarioError {
}

impl AutoScalingScenario {
pub async fn prepare_scenario(
sdk_config: &aws_types::sdk_config::SdkConfig,
) -> Result<Self, Vec<ScenarioError>> {
pub async fn prepare_scenario(sdk_config: &SdkConfig) -> Result<Self, Vec<ScenarioError>> {
let ec2 = aws_sdk_ec2::Client::new(sdk_config);
let autoscaling = aws_sdk_autoscaling::Client::new(sdk_config);

Expand Down
4 changes: 2 additions & 2 deletions rustv1/examples/autoscalingplans/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-sdk-autoscalingplans = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-autoscalingplans = "1.2.0"
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions rustv1/examples/batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-batch = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-batch = "1.2.0"
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
4 changes: 2 additions & 2 deletions rustv1/examples/cloudformation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-cloudformation = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cloudformation = "1.2.0"
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
4 changes: 2 additions & 2 deletions rustv1/examples/cloudwatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-cloudwatch = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cloudwatch = "1.2.0"
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
4 changes: 2 additions & 2 deletions rustv1/examples/cloudwatchlogs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-cloudwatchlogs = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cloudwatchlogs = "1.2.0"
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
8 changes: 4 additions & 4 deletions rustv1/examples/cognitoidentity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-cognitoidentity = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types-convert = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = [
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cognitoidentity = "1.2.0"
aws-smithy-types-convert = { features = [
"convert-chrono",
] }
], version = "0.60.0"}
chrono = "0.4"
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
Expand Down
8 changes: 4 additions & 4 deletions rustv1/examples/cognitoidentityprovider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-cognitoidentityprovider = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types-convert = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = [
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cognitoidentityprovider = "1.2.0"
aws-smithy-types-convert = { features = [
"convert-chrono",
] }
], version = "0.60.0"}
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1.20.1", features = ["full"] }
Expand Down
8 changes: 4 additions & 4 deletions rustv1/examples/cognitosync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-cognitosync = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-types-convert = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = [
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cognitosync = "1.2.0"
aws-smithy-types-convert = { features = [
"convert-chrono",
] }
], version = "0.60.0"}
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1.20.1", features = ["full"] }
Expand Down
6 changes: 3 additions & 3 deletions rustv1/examples/concurrency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tracing = "0.1.37"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }

[dev-dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-sqs = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = "1.0.1"
aws-sdk-s3 = "1.2.0"
aws-sdk-sqs = "1.2.0"
fastrand = "1.8.0"
4 changes: 2 additions & 2 deletions rustv1/examples/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-config = "1.2.0"
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
4 changes: 2 additions & 2 deletions rustv1/examples/custom-root-certificates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"
description = "An example demonstrating setting a custom root certificate with rustls"

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
# bringing our own HTTPs so no need for the default features
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", default-features = false }
aws-sdk-s3 = "1.2.0"
tokio = { version = "1.21.2", features = ["full"] }
rustls = "0.20.7"
hyper-rustls = { version = "0.23.0", features = ["http2"] }
8 changes: 4 additions & 4 deletions rustv1/examples/dynamodb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-http = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-smithy-runtime = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["test-util"] }
aws-smithy-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-dynamodb = "1.2.0"
aws-smithy-runtime = { features = ["test-util"], version = "1.0.1"}
aws-smithy-types = "1.0.1"
axum = "0.5.16"
clap = { version = "~4.4", features = ["derive"] }
futures = "0.3"
Expand Down
6 changes: 3 additions & 3 deletions rustv1/examples/ebs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-ebs = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-sdk-ec2 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-ebs = "1.2.0"
aws-sdk-ec2 = "1.2.0"
tokio = { version = "1.20.1", features = ["full"] }
base64 = "0.13.0"
sha2 = "0.9.5"
Expand Down
4 changes: 2 additions & 2 deletions rustv1/examples/ec2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ edition = "2021"


[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-ec2 = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-ec2 = "1.2.0"
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions rustv1/examples/ecr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ authors = [
edition = "2021"

[dependencies]
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next", features = ["behavior-version-latest"]}
aws-sdk-ecr = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-ecr = "1.2.0"
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", branch = "next" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
Expand Down
Loading

0 comments on commit 365ab77

Please sign in to comment.