smithy-lang / smithy-rs

Code generation for the AWS SDK for Rust, as well as server and generic smithy client generation.
Apache License 2.0
467 stars 183 forks source link

s3-tm naive multipart download #3697

Closed aajtodd closed 3 days ago

aajtodd commented 2 weeks ago

Description

Adds a "naive" implementation of a multipart download as well as an example to exercise and play with the API. I haven't had much time to play around with it but the initial performance seems off (slow) and requires further investigation.

The basic idea in this initial implementation:

I fully expect the Body type to change. Using AggregatedBytes seems limiting and we don't have much control over it. It's a very thin wrapper on SegmentedBuf from bytes-util.

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

github-actions[bot] commented 2 weeks ago

A new generated diff is ready to view.

A new doc preview is ready to view.

github-actions[bot] commented 3 days ago

A new generated diff is ready to view.

A new doc preview is ready to view.