smithy-rs/rust-runtime/aws-smithy-types
Caymon Sullivan d42727e331
feat(aws-smithy-types): Impl http-body-1.0 Body for SdkBody (#3380)
## Motivation and Context
A step towards moving to http-1.0
https://github.com/awslabs/aws-sdk-rust/issues/1046

(Russell): This is a minimal implementation of `http-body = 1`. It isn't
maximally efficient since even if we were given a 1x body, we convert it
back and forth first. This is a first step.

## Description
Implements http-body-1.0 Body trait for SdkBody.

## Testing
Regular CI

## Checklist
<!--- 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._

---------

Co-authored-by: Russell Cohen <rcoh@amazon.com>
Co-authored-by: Russell Cohen <russell.r.cohen@gmail.com>
Co-authored-by: John DiSanti <john@vinylsquid.com>
Co-authored-by: John DiSanti <jdisanti@amazon.com>
2024-02-28 01:37:54 +00:00
..
benches Bump Rust MSRV to 1.63.0 (#2222) 2023-02-10 12:59:31 -08:00
fuzz Fix `SPDX-License-Identifier` in header comments (#1377) 2022-05-09 09:50:46 -05:00
proptest-regressions/instant Relegate `chrono` to an optional feature in a new conversion crate (#849) 2021-11-11 16:01:30 -08:00
src feat(aws-smithy-types): Impl http-body-1.0 Body for SdkBody (#3380) 2024-02-28 01:37:54 +00:00
test_data Omit fractional seconds from `http-date` format (#2989) 2023-09-21 18:54:03 +00:00
Cargo.toml feat(aws-smithy-types): Impl http-body-1.0 Body for SdkBody (#3380) 2024-02-28 01:37:54 +00:00
LICENSE Prefix Smithy runtime crates with `aws-` (#788) 2021-10-20 10:21:15 -07:00
README.md Fix repo org move issues (#3166) 2023-11-10 18:51:04 +00:00
additional-ci Add support for constructing sdk body types from http-body 1.0 (#3300) 2023-12-13 20:57:00 +00:00
external-types.toml Fix repo org move issues (#3166) 2023-11-10 18:51:04 +00:00

README.md

Fundamental Types for Smithy Services

This crate implements fundamental types shared across all service clients generated by smithy-rs. Generally, you should not need to take a direct dependency on this crate as service clients should publicly re-export the types when used.

This crate is part of the AWS SDK for Rust and the smithy-rs code generator. In most cases, it should not be used directly.