Skip to content

Commit

Permalink
chore: Update AWS crates (#19312)
Browse files Browse the repository at this point in the history
* Very wip

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Most aws compiles

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Compiles

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Unit tests pass

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Fix up client use

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* WIP

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Fix s3

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Update integration test container

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Update elastic search in tests

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Wrap the HTTP Connector

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Tidy up a little

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Removed some TODO's

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Clippy

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Middleware is no longer used

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Tidy up a little

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Removed rustls dependency

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Feedback from Kyle

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Update region in test

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* More useful comment around sleep

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Feedback from Doug

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Use MeasuredBody to measure lazy http bodies

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Trailing space

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Update license csv

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

* Remove clone

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

---------

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
  • Loading branch information
StephenWakely committed Jan 8, 2024
1 parent aa6fd40 commit c2cc94a
Show file tree
Hide file tree
Showing 54 changed files with 827 additions and 1,043 deletions.
577 changes: 208 additions & 369 deletions Cargo.lock

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,24 +159,23 @@ metrics = "0.21.1"
metrics-tracing-context = { version = "0.14.0", default-features = false }

# AWS - Official SDK
# depending on a fork to circumvent https://github.com/awslabs/aws-sdk-rust/issues/749
aws-sdk-s3 = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-sqs = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-sns = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-cloudwatch = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-cloudwatchlogs = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-elasticsearch = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-firehose = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-sdk-kinesis = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-types = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, optional = true }
aws-sigv4 = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["sign-http"], optional = true }
aws-config = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["native-tls"], optional = true }
aws-credential-types = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["hardcoded-credentials"], optional = true }
aws-smithy-async = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, optional = true }
aws-smithy-client = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["client-hyper"], optional = true}
aws-smithy-http = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, features = ["event-stream"], optional = true }
aws-smithy-http-tower = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, optional = true }
aws-smithy-types = { git = "https://github.com/vectordotdev/aws-sdk-rust", rev = "3d6aefb7fcfced5fc2a7e761a87e4ddbda1ee670", default-features = false, optional = true }
aws-sdk-s3 = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-sqs = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-sns = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-cloudwatch = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-cloudwatchlogs = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-elasticsearch = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-firehose = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-sdk-kinesis = { version = "1.3.0", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-types = { version = "1.0.1", default-features = false, optional = true }
aws-sigv4 = { version = "1.0.1", default-features = false, features = ["sign-http"], optional = true }
aws-config = { version = "1.0.1", default-features = false, features = ["behavior-version-latest"], optional = true }
aws-credential-types = { version = "1.0.1", default-features = false, features = ["hardcoded-credentials"], optional = true }
aws-smithy-http = { version = "0.60", default-features = false, features = ["event-stream"], optional = true }
aws-smithy-types = { version = "1.0.2", default-features = false, optional = true }
aws-smithy-runtime-api = { version = "1.0.2", default-features = false, optional = true }
aws-smithy-runtime = { version = "1.0.2", default-features = false, features = ["client", "connector-hyper-0-14-x", "rt-tokio"], optional = true }
aws-smithy-async = { version = "1.0.2", default-features = false, features = ["rt-tokio"], optional = true }

# Azure
azure_core = { version = "0.17", default-features = false, features = ["enable_reqwest"], optional = true }
Expand Down Expand Up @@ -345,6 +344,7 @@ openssl-src = { version = "300", default-features = false, features = ["force-en
[dev-dependencies]
approx = "0.5.1"
assert_cmd = { version = "2.0.12", default-features = false }
aws-smithy-runtime = { version = "1.0.2", default-features = false, features = ["tls-rustls"] }
azure_core = { version = "0.17", default-features = false, features = ["enable_reqwest", "azurite_workaround"] }
azure_identity = { version = "0.17", default-features = false, features = ["enable_reqwest"] }
azure_storage_blobs = { version = "0.17", default-features = false, features = ["azurite_workaround"] }
Expand Down Expand Up @@ -446,10 +446,10 @@ aws-core = [
"dep:aws-sigv4",
"dep:aws-types",
"dep:aws-smithy-async",
"dep:aws-smithy-client",
"dep:aws-smithy-http",
"dep:aws-smithy-http-tower",
"dep:aws-smithy-types",
"dep:aws-smithy-runtime",
"dep:aws-smithy-runtime-api",
]

# Anything that requires Protocol Buffers.
Expand Down

0 comments on commit c2cc94a

Please sign in to comment.