Skip to content

Commit

Permalink
Update all Cargo.tomls to be versioned (awsdocs#5807)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh authored and meyertst-aws committed Jan 4, 2024
1 parent 9f73d81 commit e0a83d9
Show file tree
Hide file tree
Showing 67 changed files with 226 additions and 226 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 = "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"}
aws-config = { version = "1.0.1" }
aws-sdk-rekognition = { version = "1.3.0" }
aws-sdk-s3 = { version = "1.4.0" }
aws-smithy-types = { version = "1.0.1", features = ["rt-tokio"] }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
12 changes: 6 additions & 6 deletions rustv1/cross_service/detect_labels/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
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" }
aws-config = { version = "1.0.1" }
aws-sdk-dynamodb = { version = "1.3.0" }
aws-sdk-rekognition = { version = "1.3.0" }
aws-sdk-s3 = { version = "1.4.0" }
aws-smithy-types = { version = "1.0.1", features = ["rt-tokio"] }
aws-types = { 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"] }
Expand Down
14 changes: 7 additions & 7 deletions rustv1/cross_service/photo_asset_management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ _HANDLER = "labels"

[dependencies]
anyhow = "1.0.70"
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-runtime = "1.0.1"
aws-smithy-types-convert ={ features = ["convert-chrono"], version = "0.60.0"}
aws-config = { version = "1.0.1" }
aws-sdk-dynamodb = { version = "1.3.0" }
aws-sdk-rekognition = { version = "1.3.0" }
aws-sdk-s3 = { version = "1.4.0" }
aws-sdk-sns = { version = "1.3.0" }
aws-smithy-runtime = { version = "1.0.1" }
aws-smithy-types-convert = { version = "0.60.0", features = ["convert-chrono"] }
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 = "1.0.1"
aws-sdk-dynamodb = "1.2.0"
aws-sdk-rekognition = "1.2.0"
aws-config = { version = "1.0.1" }
aws-sdk-dynamodb = { version = "1.3.0" }
aws-sdk-rekognition = { version = "1.3.0" }
photo_asset_management = { path = "../"}
tokio = { version = "1.27.0", features = ["macros"] }
tracing = "0.1.37"
Expand Down
14 changes: 7 additions & 7 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 = "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"
aws-config = { version = "1.0.1" }
aws-sdk-cloudwatchlogs = { version = "1.3.0" }
aws-sdk-rdsdata = { version = "1.3.0" }
aws-sdk-ses = { version = "1.3.0" }
aws-smithy-types = { version = "1.0.1" }
aws-smithy-runtime = { version = "1.0.1" }
chrono = { version = "0.4.22", default-features = false, features = [
"clock",
"serde",
Expand All @@ -46,7 +46,7 @@ uuid = { version = "1.2.1", features = ["v4", "serde"] }
xlsxwriter = "0.6.0"

[dev-dependencies]
aws-smithy-runtime = "1.0.1"
aws-smithy-runtime = { version = "1.0.1" }
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 = "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"}
aws-config = { version = "1.0.1" }
aws-sdk-polly = { version = "1.3.0" }
aws-sdk-s3 = { version = "1.4.0" }
aws-sdk-transcribe = { version = "1.3.0" }
aws-smithy-types = { version = "1.0.1", features = ["rt-tokio"] }
anyhow = "1"
tokio = { version = "1.20.1", features = ["full"] }
bytes = "1"
Expand Down
10 changes: 5 additions & 5 deletions rustv1/examples/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-apigateway = "1.2.0"
aws-smithy-types-convert = { features = [
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-apigateway = { version = "1.3.0" }
aws-smithy-types-convert = { version = "0.60.0", features = [
"convert-chrono",
], version = "0.60.0"}
] }
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1.20.1", features = ["full"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-apigatewaymanagement = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-apigatewaymanagement = { version = "1.3.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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-applicationautoscaling = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-applicationautoscaling = { version = "1.4.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 = { 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"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-smithy-types = { version = "1.0.1" }
aws-smithy-runtime-api = { version = "1.0.1" }
aws-sdk-rds = { version = "1.3.0" }
inquire = "0.6.2"
mockall = "0.11.4"
phf = { version = "0.11.2", features = ["std", "macros"] }
Expand Down
8 changes: 4 additions & 4 deletions rustv1/examples/auto-scaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
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" }
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-autoscaling = { version = "1.3.0" }
aws-sdk-ec2 = { version = "1.3.0" }
aws-types = { 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"] }
Expand Down
6 changes: 3 additions & 3 deletions rustv1/examples/autoscalingplans/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-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" }
aws-sdk-autoscalingplans = { version = "1.3.0" }
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-types = { 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"] }
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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-batch = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-batch = { version = "1.3.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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cloudformation = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-cloudformation = { version = "1.3.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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cloudwatch = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-cloudwatch = { version = "1.3.0" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
6 changes: 3 additions & 3 deletions rustv1/examples/cloudwatchlogs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
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" }
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-cloudwatchlogs = { version = "1.3.0" }
aws-types = { 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"] }
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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cognitoidentity = "1.2.0"
aws-smithy-types-convert = { features = [
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-cognitoidentity = { version = "1.3.0" }
aws-smithy-types-convert = { version = "0.60.0", features = [
"convert-chrono",
], version = "0.60.0"}
] }
chrono = "0.4"
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
Expand Down
10 changes: 5 additions & 5 deletions rustv1/examples/cognitoidentityprovider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

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

[dependencies]
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-cognitosync = "1.2.0"
aws-smithy-types-convert = { features = [
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-cognitosync = { version = "1.3.0" }
aws-smithy-types-convert = { version = "0.60.0", features = [
"convert-chrono",
], version = "0.60.0"}
] }
clap = { version = "~4.4", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1.20.1", features = ["full"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
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 = "1.0.1"
aws-sdk-s3 = "1.2.0"
aws-sdk-sqs = "1.2.0"
aws-config = { version = "1.0.1" }
aws-sdk-s3 = { version = "1.4.0" }
aws-sdk-sqs = { version = "1.3.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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-config = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-config = { version = "1.3.0" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
6 changes: 3 additions & 3 deletions rustv1/examples/custom-root-certificates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
description = "An example demonstrating setting a custom root certificate with rustls"

[dependencies]
aws-config = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
# bringing our own HTTPs so no need for the default features
aws-sdk-s3 = { version = "1.2.0", default-features = false }
aws-sdk-s3 = { version = "1.4.0", default-features = false }
tokio = { version = "1.21.2", features = ["full"] }
rustls = "0.21.9"
hyper-rustls = { version = "0.24.2", features = ["http2"] }
aws-smithy-runtime = { version = "1.0.2", features = ["tls-rustls"] }
aws-smithy-runtime = { version = "1.0.1", features = ["tls-rustls"] }
12 changes: 6 additions & 6 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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-http = { 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"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-http = { version = "0.60.0" }
aws-sdk-dynamodb = { version = "1.3.0" }
aws-smithy-runtime = { version = "1.0.1", features = ["test-util"] }
aws-smithy-types = { version = "1.0.1" }
axum = "0.5.16"
clap = { version = "~4.4", features = ["derive"] }
futures = "0.3"
Expand All @@ -31,4 +31,4 @@ tokio = { version = "1.20.1", features = ["full"] }
tokio-stream = "0.1.8"
tower-http = { version = "0.3.0", features = ["cors"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
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 = { features = ["behavior-version-latest"], version = "1.0.1"}
aws-sdk-ebs = "1.2.0"
aws-sdk-ec2 = "1.2.0"
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-ebs = { version = "1.3.0" }
aws-sdk-ec2 = { version = "1.3.0" }
tokio = { version = "1.20.1", features = ["full"] }
base64 = "0.13.0"
sha2 = "0.9.5"
Expand Down
6 changes: 3 additions & 3 deletions rustv1/examples/ec2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ edition = "2021"


[dependencies]
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" }
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-ec2 = { version = "1.3.0" }
aws-types = { version = "1.0.1" }
tokio = { version = "1.20.1", features = ["full"] }
clap = { version = "~4.4", features = ["derive"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
6 changes: 3 additions & 3 deletions rustv1/examples/ecr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ authors = [
edition = "2021"

[dependencies]
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" }
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-ecr = { version = "1.3.0" }
aws-types = { 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"] }
Loading

0 comments on commit e0a83d9

Please sign in to comment.