-
- Downloads
Remove the public HTTP dependency from aws-sigv4 (#2921)
## Motivation and Context Removes the public http dependency from the aws-sigv4 crate to avoid compatibility issues with http = 1.0 and to support the http refactor ## Description - Changes `SignableRequest::new` to remove the direct exposure of HTTP types - Assorted test refactorings as a result - Update calling code ## Testing IT/UT ## Checklist TODO: changelog <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- CHANGELOG.next.toml 11 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-runtime/Cargo.toml 2 additions, 1 deletionaws/rust-runtime/aws-runtime/Cargo.toml
- aws/rust-runtime/aws-runtime/src/auth/sigv4.rs 10 additions, 5 deletionsaws/rust-runtime/aws-runtime/src/auth/sigv4.rs
- aws/rust-runtime/aws-sig-auth/Cargo.toml 2 additions, 1 deletionaws/rust-runtime/aws-sig-auth/Cargo.toml
- aws/rust-runtime/aws-sig-auth/src/signer.rs 11 additions, 4 deletionsaws/rust-runtime/aws-sig-auth/src/signer.rs
- aws/rust-runtime/aws-sigv4/Cargo.toml 1 addition, 0 deletionsaws/rust-runtime/aws-sigv4/Cargo.toml
- aws/rust-runtime/aws-sigv4/external-types.toml 1 addition, 6 deletionsaws/rust-runtime/aws-sigv4/external-types.toml
- aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs 33 additions, 48 deletions...t-runtime/aws-sigv4/src/http_request/canonical_request.rs
- aws/rust-runtime/aws-sigv4/src/http_request/error.rs 12 additions, 0 deletionsaws/rust-runtime/aws-sigv4/src/http_request/error.rs
- aws/rust-runtime/aws-sigv4/src/http_request/mod.rs 13 additions, 9 deletionsaws/rust-runtime/aws-sigv4/src/http_request/mod.rs
- aws/rust-runtime/aws-sigv4/src/http_request/settings.rs 6 additions, 5 deletionsaws/rust-runtime/aws-sigv4/src/http_request/settings.rs
- aws/rust-runtime/aws-sigv4/src/http_request/sign.rs 161 additions, 185 deletionsaws/rust-runtime/aws-sigv4/src/http_request/sign.rs
- aws/rust-runtime/aws-sigv4/src/http_request/test.rs 95 additions, 31 deletionsaws/rust-runtime/aws-sigv4/src/http_request/test.rs
Loading
Please register or sign in to comment