Commit 9d6b6a1
## 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 -->
All Smithy-rs crates, for both servers and clients, now use the `1.x`
version of the `http` crate for all internal processing. Utility methods
are still provided for users to convert between SDK types and types from
both the `0.x` and `1.x` versions of the `http` crate.
## Description
<!--- Describe your changes in detail -->
There are too many changes to describe in detail, but this work has been
split over many other PRs to the `feature/http-1.x` branch. You can see
all of those PRs
[here](https://github.com/smithy-lang/smithy-rs/pulls?q=is%3Apr%20is%3Aclosed%20base%3Afeature%2Fhttp-1.x).
## 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. -->
All CI tests pass with the exception of the semver failures (see below).
These failures are all related to the `aws-smithy-compression` crate
which is pre-1.0 and had a semver incompatible version bump, so that
shouldn't be an issue.
```
checking aws-smithy-compression...failed!
--- failure feature_missing: package feature removed or renamed ---
Description:
A feature has been removed from this package's Cargo.toml. This will break downstream crates which enable that feature.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/feature_missing.ron
Failed in:
feature http-body-1-x in the package's Cargo.toml
feature http-body-0-4-x in the package's Cargo.toml
--- failure inherent_method_missing: pub method removed or renamed ---
Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/inherent_method_missing.ron
Failed in:
CompressionAlgorithm::into_impl_http_body_0_4_x, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/lib.rs:168
--- failure module_missing: pub module removed or renamed ---
Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/module_missing.ron
Failed in:
mod aws_smithy_compression::body::compress::http_body_0_4_x, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/body.rs:41
mod aws_smithy_compression::http::http_body_1_x, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/http.rs:49
mod aws_smithy_compression::http::http_body_0_4_x, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/http.rs:10
--- failure trait_missing: pub trait removed or renamed ---
Description:
A publicly-visible trait cannot be imported by its prior path. A `pub use` may have been removed, or the trait itself may have been renamed or removed entirely.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_missing.ron
Failed in:
trait aws_smithy_compression::http::http_body_1_x::CompressRequest, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/http.rs:54
trait aws_smithy_compression::http::http_body_1_x::CloneCompressRequest, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/http.rs:65
trait aws_smithy_compression::http::http_body_0_4_x::CloneCompressRequest, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/http.rs:26
trait aws_smithy_compression::http::http_body_0_4_x::CompressRequest, previously in file /home/build/workspace/smithy-rs/target/semver-checks/git-base/8c895dfa8dcf82eaffbf2ce44708ff8b2985b58f/aws-sdk/sdk/aws-smithy-compression/src/http.rs:15
```
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] For changes to the smithy-rs codegen or runtime crates, I have
created a changelog entry Markdown file in the `.changelog` directory,
specifying "client," "server," or both in the `applies_to` key.
- [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: ysaito1001 <awsaito@amazon.com>
Co-authored-by: Russell Cohen <rcoh@amazon.com>
Co-authored-by: AWS SDK Rust Bot <aws-sdk-rust-primary@amazon.com>
Co-authored-by: AWS SDK Rust Bot <97246200+aws-sdk-rust-ci@users.noreply.github.com>
Co-authored-by: vcjana <vcjana@amazon.com>
Co-authored-by: Jason Gin <67525213+jasgin@users.noreply.github.com>
Co-authored-by: Aaron Todd <aajtodd@users.noreply.github.com>
Co-authored-by: greenwoodcm <greenwd@amazon.com>
Co-authored-by: Jason Gin <jasongin88@gmail.com>
Co-authored-by: Aaron J Todd <todaaron@amazon.com>
Co-authored-by: Anna H <annahay@amazon.com>
Co-authored-by: Ariel Ben-Yehuda <ariel.byd@gmail.com>
Co-authored-by: Ariel Ben-Yehuda <arielby@amazon.com>
Co-authored-by: Fahad Zubair <fahadzubair@gmail.com>
Co-authored-by: Fahad Zubair <fahadzub@amazon.com>
1 parent cfcc39c commit 9d6b6a1
File tree
305 files changed
+21610
-9297
lines changed- .changelog
- .github/workflows
- aws
- codegen-aws-sdk/src
- main/kotlin/software/amazon/smithy/rustsdk
- test/kotlin/software/amazon/smithy/rustsdk
- rust-runtime
- aws-config
- aws-inlineable
- src
- aws-runtime
- src
- retries
- user_agent
- aws-sigv4
- src/http_request
- sdk
- benchmarks
- previous-release-comparison
- s3-express
- s3-throughput/benchmark
- sdk-perf
- buildSrc/src/main/kotlin
- codegen-client/src
- main/kotlin/software/amazon/smithy/rust/codegen/client/smithy
- customizations
- endpoint
- generators
- http
- protocol
- protocols
- test/kotlin/software/amazon/smithy/rust/codegen/client/smithy
- generators
- http
- protocol
- protocols/eventstream
- codegen-core/src
- main/kotlin/software/amazon/smithy/rust/codegen/core
- rustlang
- smithy
- customizations
- generators/http
- protocols
- testutil
- test/kotlin/software/amazon/smithy/rust/codegen/core/rustlang
- codegen-serde/src/test/kotlin/software/amazon/smithy/rust/codegen/serde
- codegen-server-test
- integration-tests
- eventstreams-legacy
- src
- tests
- eventstreams
- tests
- codegen-server
- codegen-server-python/src/main/kotlin/software/amazon/smithy/rust/codegen/server/python/smithy
- generators
- codegen-server-typescript/src/main/kotlin/software/amazon/smithy/rust/codegen/server/typescript/smithy
- generators
- src
- main/kotlin/software/amazon/smithy/rust/codegen/server/smithy
- customizations
- customize
- generators
- http
- protocol
- protocols
- testutil
- test/kotlin/software/amazon/smithy/rust/codegen/server/smithy
- customizations
- generators
- protocols/serialize
- testutil
- examples
- legacy
- pokemon-service-client-usage
- examples
- src
- pokemon-service-common
- src
- tests
- pokemon-service-lambda
- src
- tests/fixtures
- pokemon-service-tls
- src
- tests
- common
- testdata
- pokemon-service
- src
- tests
- common
- pokemon-service-client-usage
- examples
- pokemon-service-common
- src
- tests
- pokemon-service-lambda
- pokemon-service-tls
- src
- tests
- common
- pokemon-service
- src
- tests
- common
- fuzzgen/src
- main/kotlin/software/amazon/smithy/rust/codegen/fuzz
- test/kotlin/software/amazon/smithy/rust/codegen/fuzz
- rust-runtime
- aws-smithy-async
- aws-smithy-checksums
- src
- body
- aws-smithy-compression
- src
- aws-smithy-dns
- aws-smithy-eventstream
- aws-smithy-fuzz
- src
- aws-smithy-http-client
- aws-smithy-http-server-python
- src
- middleware
- pytests
- aws-smithy-http-server
- examples
- src
- instrumentation/sensitivity
- layer
- protocol
- aws_json
- rest_json_1
- rest_xml
- rpc_v2_cbor
- request
- routing
- serve
- tests
- aws-smithy-http
- proptest-regressions/event_stream
- src
- event_stream
- aws-smithy-json
- aws-smithy-legacy-http-server
- aws-smithy-legacy-http
- src/event_stream
- aws-smithy-mocks
- aws-smithy-observability-otel
- aws-smithy-observability
- aws-smithy-protocol-test
- src
- aws-smithy-query
- aws-smithy-runtime-api
- src
- client
- http
- aws-smithy-runtime
- src/client
- auth
- http/body
- minimum_throughput
- orchestrator
- retries
- tests
- aws-smithy-types-convert
- aws-smithy-types
- src
- body
- byte_stream
- aws-smithy-wasm
- inlineable
- src
- endpoint_lib
- tools
- ci-build
- changelogger
- crate-hasher
- difftags
- publisher
- src
- cargo
- subcommand
- runtime-versioner
- sdk-lints
- src
- sdk-lockfiles
- sdk-versioner
- src
- smithy-rs-tool-common
- src
- changelog
- ci-cdk/canary-runner
- ci-scripts
- echo-server
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
305 files changed
+21610
-9297
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
85 | | - | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
| |||
219 | 227 | | |
220 | 228 | | |
221 | 229 | | |
222 | | - | |
| 230 | + | |
223 | 231 | | |
224 | 232 | | |
225 | 233 | | |
| |||
305 | 313 | | |
306 | 314 | | |
307 | 315 | | |
308 | | - | |
| 316 | + | |
309 | 317 | | |
310 | 318 | | |
311 | 319 | | |
312 | 320 | | |
313 | 321 | | |
314 | | - | |
| 322 | + | |
315 | 323 | | |
316 | 324 | | |
317 | 325 | | |
| |||
334 | 342 | | |
335 | 343 | | |
336 | 344 | | |
337 | | - | |
| 345 | + | |
338 | 346 | | |
339 | 347 | | |
340 | 348 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
aws/codegen-aws-sdk/src/main/kotlin/software/amazon/smithy/rustsdk/HttpRequestChecksumDecorator.kt
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
367 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
368 | 375 | | |
369 | 376 | | |
370 | | - | |
371 | | - | |
372 | | - | |
| 377 | + | |
373 | 378 | | |
374 | 379 | | |
375 | 380 | | |
| |||
0 commit comments