Hi !
I'm currently trying to setup a webapp allowing to upload and store files in a S3 storage (MinIO).
But all the examples i found on Internet only talk about uploading to a temporary file and then transfert the tempfile to S3.
Is there any way (and maybe examples) to upload files directly through a stream ?
i'm using rust-s3-async to manage my s3 server, and there are 2 ways to upload files:
- using a reader (
std::io::Read + Unpin) - using chunks (
Vec<u8>)
I already tried some stuff but i only get errors like Multipart error: not consumed