#stream #upload #s3 #rusoto #tokio

read-progress-stream

Stream reader wrapper that tracks the number of bytes read

4 releases (1 stable)

1.0.0 Jan 17, 2021
0.3.0 Jan 15, 2021
0.2.0 Jan 15, 2021
0.1.0 Jan 15, 2021

#764 in Asynchronous

Download history 598/week @ 2023-12-05 731/week @ 2023-12-12 645/week @ 2023-12-19 248/week @ 2023-12-26 377/week @ 2024-01-02 420/week @ 2024-01-09 806/week @ 2024-01-16 387/week @ 2024-01-23 532/week @ 2024-01-30 178/week @ 2024-02-06 972/week @ 2024-02-13 1022/week @ 2024-02-20 963/week @ 2024-02-27 1250/week @ 2024-03-05 948/week @ 2024-03-12 786/week @ 2024-03-19

4,106 downloads per month
Used in tauri-plugin-upload

MIT/Apache

3.5MB
92 lines

Read Progress Stream

Wrap a futures stream and report bytes so that uploading files can indicate progress.

To see an example progress bar run:

cargo test -- --nocapture

lib.rs:

Wrapper for a stream that stores the number of bytes read so that uploading to S3 using the rusoto_s3 crate can indicate upload progress for larger files.

See the test for example usage and run with --nocapture to see the mock progress bar:

cargo test -- --nocapture

Dependencies