Unverified Commit 854efece authored by FalkWoldmann's avatar FalkWoldmann Committed by GitHub
Browse files

Replace `once_cell` with `std::sync::LazyLock` in `aws-sigv4` (#4050)



## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here -->
Replaces an external dependency with functionality provided by `std`

## Description
<!--- Describe your changes in detail -->

## Testing
<!--- Please describe in detail how you tested your changes -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] For changes to the AWS SDK, generated SDK code, or SDK runtime
crates, I have created a changelog entry Markdown file in the
`.changelog` directory, specifying "aws-sdk-rust" in the `applies_to`
key.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

---------

Co-authored-by: default avatarLandon James <lnj@amazon.com>
parent 00254621
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
---
applies_to:
- aws-sdk-rust
authors:
- FalkWoldmann
references: []
breaking: false
new_feature: false
bug_fix: false
---
Removes the once_cell crate from the aws-sigv4 crate
+12 −0
Original line number Diff line number Diff line
---
applies_to:
- client
- server
authors:
- FalkWoldmann
references: []
breaking: false
new_feature: false
bug_fix: false
---
Removes the once_cell crate from the rust-runtime crates
+11 −0
Original line number Diff line number Diff line
---
applies_to:
- aws-sdk-rust
authors:
- FalkWoldmann
references: []
breaking: false
new_feature: false
bug_fix: false
---
Removes the once_cell crate from the `rust-runtime` crate
+10 −0
Original line number Diff line number Diff line
---
applies_to: []
authors:
- FalkWoldmann
references: []
breaking: false
new_feature: false
bug_fix: false
---
Removes the once_cell crate from the tools crates
+4 −9
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ dependencies = [

[[package]]
name = "aws-runtime"
version = "1.5.6"
version = "1.5.7"
dependencies = [
 "arbitrary",
 "aws-credential-types",
@@ -166,7 +166,6 @@ dependencies = [
 "http 1.3.1",
 "http-body 0.4.6",
 "http-body 1.0.1",
 "once_cell",
 "percent-encoding",
 "pin-project-lite",
 "proptest",
@@ -190,7 +189,7 @@ version = "0.60.3"

[[package]]
name = "aws-sigv4"
version = "1.3.0"
version = "1.3.1"
dependencies = [
 "aws-credential-types",
 "aws-smithy-eventstream",
@@ -207,7 +206,6 @@ dependencies = [
 "http 0.2.12",
 "http 1.3.1",
 "httparse",
 "once_cell",
 "p256",
 "percent-encoding",
 "pretty_assertions",
@@ -263,7 +261,7 @@ dependencies = [

[[package]]
name = "aws-smithy-http"
version = "0.62.0"
version = "0.62.1"
dependencies = [
 "aws-smithy-runtime-api",
 "aws-smithy-types",
@@ -273,7 +271,6 @@ dependencies = [
 "http 0.2.12",
 "http 1.3.1",
 "http-body 0.4.6",
 "once_cell",
 "percent-encoding",
 "pin-project-lite",
 "pin-utils",
@@ -300,10 +297,9 @@ dependencies = [

[[package]]
name = "aws-smithy-observability"
version = "0.1.2"
version = "0.1.3"
dependencies = [
 "aws-smithy-runtime-api",
 "once_cell",
]

[[package]]
@@ -339,7 +335,6 @@ dependencies = [
 "http 1.3.1",
 "http-body 0.4.6",
 "http-body 1.0.1",
 "once_cell",
 "pin-project-lite",
 "pin-utils",
 "tokio",
Loading