Skip to content

Commit

Permalink
[smithy-rs] Move using-native-tls-instead-of-rustls to smithy-rs (#2423)
Browse files Browse the repository at this point in the history
* Move using-native-tls-instead-of-rustls to smithy-rs

This commit adds the test `using-native-tls-instead-of-rustls` to
`smithy-rs` that was originally in the `aws-doc-sdk-examples`.
The test is more useful to be in `smithy-rs` because it can catch
a test failure early prior to cutting a release.

* Fix Copyright header

* Update aws/sdk/integration-tests/using-native-tls-instead-of-rustls/tests/no-rustls-in-dependency.rs

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update aws/sdk/integration-tests/using-native-tls-instead-of-rustls/tests/no-rustls-in-dependency.rs

Co-authored-by: Zelda Hessler <zhessler@amazon.com>

* Update Cargo.toml

This commit addresses
smithy-lang/smithy-rs#2423 (comment)
smithy-lang/smithy-rs#2423 (comment)

---------

Co-authored-by: Yuki Saito <awsaito@amazon.com>
Co-authored-by: Zelda Hessler <zhessler@amazon.com>
  • Loading branch information
3 people authored and aws-sdk-rust-ci committed Mar 28, 2023
1 parent f0fd144 commit 1552fa5
Show file tree
Hide file tree
Showing 731 changed files with 1,832 additions and 1,757 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
exclude = [
"tests/no-default-features"
"tests/no-default-features",
"tests/using-native-tls-instead-of-rustls"
]
members = [
"examples/apigateway",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.
```toml
[dependencies]
aws-config = "0.0.0-smithy-rs-head"
aws-sdk-dynamodb = "0.55.0"
aws-sdk-dynamodb = "0.56.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
2 changes: 1 addition & 1 deletion examples/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-apigateway]
path = "../../sdk/apigateway"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
2 changes: 1 addition & 1 deletion examples/apigatewaymanagement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-apigatewaymanagement]
path = "../../sdk/apigatewaymanagement"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/applicationautoscaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-applicationautoscaling]
path = "../../sdk/applicationautoscaling"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-autoscaling]
path = "../../sdk/autoscaling"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscalingplans/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
publish = false
[dependencies.aws-sdk-autoscalingplans]
path = "../../sdk/autoscalingplans"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-config]
path = "../../sdk/aws-config"
Expand Down
2 changes: 1 addition & 1 deletion examples/batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-batch]
path = "../../sdk/batch"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudformation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-cloudformation]
path = "../../sdk/cloudformation"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudwatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-cloudwatch]
path = "../../sdk/cloudwatch"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudwatchlogs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-cloudwatchlogs]
path = "../../sdk/cloudwatchlogs"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/cognitoidentity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-cognitoidentity]
path = "../../sdk/cognitoidentity"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
2 changes: 1 addition & 1 deletion examples/cognitoidentityprovider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-cognitoidentityprovider]
path = "../../sdk/cognitoidentityprovider"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
2 changes: 1 addition & 1 deletion examples/cognitosync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-cognitosync]
path = "../../sdk/cognitosync"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-smithy-types-convert]
features = ["convert-chrono"]
Expand Down
4 changes: 2 additions & 2 deletions examples/concurrency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ version = "0.0.0-smithy-rs-head"

[dev-dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.55.0"
version = "0.56.0"

[dev-dependencies.aws-sdk-sqs]
path = "../../sdk/sqs"
version = "0.55.0"
version = "0.56.0"
2 changes: 1 addition & 1 deletion examples/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-config]
path = "../../sdk/config"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-root-certificates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ version = "0.0.0-smithy-rs-head"
[dependencies.aws-sdk-s3]
default-features = false
path = "../../sdk/s3"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.21.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamodb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-dynamodb]
path = "../../sdk/dynamodb"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-http]
path = "../../sdk/aws-http"
Expand Down
4 changes: 2 additions & 2 deletions examples/ebs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-ebs]
path = "../../sdk/ebs"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-ec2]
path = "../../sdk/ec2"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/ec2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-ec2]
path = "../../sdk/ec2"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/ecr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-ecr]
path = "../../sdk/ecr"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-ecs]
path = "../../sdk/ecs"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/eks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-eks]
path = "../../sdk/eks"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/globalaccelerator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-globalaccelerator]
path = "../../sdk/globalaccelerator"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/glue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-glue]
path = "../../sdk/glue"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-http]
path = "../../sdk/aws-http"
Expand Down
2 changes: 1 addition & 1 deletion examples/greengrassv2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-greengrassv2]
path = "../../sdk/greengrassv2"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
6 changes: 3 additions & 3 deletions examples/iam/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-iam]
path = "../../sdk/iam"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-sts]
path = "../../sdk/sts"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-smithy-client]
features = ["test-util"]
Expand Down
2 changes: 1 addition & 1 deletion examples/iot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-iot]
path = "../../sdk/iot"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-types]
path = "../../sdk/aws-types"
Expand Down
2 changes: 1 addition & 1 deletion examples/kinesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-kinesis]
path = "../../sdk/kinesis"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/kms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-kms]
path = "../../sdk/kms"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-smithy-client]
features = ["client-hyper", "rustls", "rt-tokio"]
Expand Down
6 changes: 3 additions & 3 deletions examples/lambda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-ec2]
path = "../../sdk/ec2"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-lambda]
path = "../../sdk/lambda"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.55.0"
version = "0.56.0"

[dependencies.serde]
version = "1"
Expand Down
4 changes: 2 additions & 2 deletions examples/localstack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-s3]
path = "../../sdk/s3"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-sqs]
path = "../../sdk/sqs"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/medialive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-medialive]
path = "../../sdk/medialive"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/mediapackage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-mediapackage]
path = "../../sdk/mediapackage"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/polly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-polly]
path = "../../sdk/polly"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/qldb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-qldb]
path = "../../sdk/qldb"
version = "0.55.0"
version = "0.56.0"

[dependencies.aws-sdk-qldbsession]
path = "../../sdk/qldbsession"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/rds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-rds]
path = "../../sdk/rds"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/rdsdata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-rdsdata]
path = "../../sdk/rdsdata"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/route53/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.0.0-smithy-rs-head"

[dependencies.aws-sdk-route53]
path = "../../sdk/route53"
version = "0.55.0"
version = "0.56.0"

[dependencies.tokio]
version = "1.20.1"
Expand Down

0 comments on commit 1552fa5

Please sign in to comment.