1 unstable release
new 0.1.0-alpha.1 | Mar 17, 2025 |
---|
#11 in #multipart
39KB
932 lines
aws-multipart-upload
Description
First version of a crate with futures::Sink
s for doing an AWS S3 multipart upload using the official
SDK.
Current:
Upload
: For the finite case, send items toUpload
until they are exhausted or the (optional) target upload size is reached. Flushing or closing the sink completes the upload. Attempting to send more items after an upload is an error. For this reason, it's probably not a good idea to configure it with a target upload size, unless it's really a "maximum upload size" and a very safe upper bound on the total bytes.
Development:
UploadForever
: For the infinite case,UploadForever
uses an iterator of S3 addresses to continuously build and upload parts, complete uploads when the target upload size is achieved, and then start new uploads from thenext
address iterator. Ifnext
returnsNone
, this is an error.
Dependencies
~36MB
~463K SLoC