s3-ext

Crates.ios3-ext
lib.rss3-ext
version0.5.1
sourcesrc
created_at2020-02-22 16:17:50.004113
updated_at2022-05-08 19:23:16.498444
descriptionSimple Storage Service Extensions for Rust
homepage
repositoryhttps://github.com/ddboline/s3-ext-rs
max_upload_size
id211514
size77,231
Daniel Boline (ddboline)

documentation

https://docs.rs/s3-ext

README

S3-Ext - Simple Storage Service Extensions for Rust

crates.io Build Status Documentation codecov

What is S3-Ext

This is a fork of the S4 Crate, the name has been changed, the minimum supported version of rusoto is v0.43.0, and everything is async/await.

S3-ext provides a high-level API for S3 building on top of Rusoto and extending it's API.

What is added that Rusoto itself doesn't provide

  • simple way to create an S3Client
  • download object to a file
  • download object and [Write] it
  • upload object from file
  • [Read] object and upload it
  • simple way to create stream of all objects or objects with a given prefix

Implementation details

Most functionality is provided by the S3Ext trait which is implemented for Rusoto's S3Client.

Running Tests

  1. Start Minio
docker run -d --rm -p 9000:9000 --env "MINIO_ACCESS_KEY=ANTN35UAENTS5UIAEATD" \
--env "MINIO_SECRET_KEY=TtnuieannGt2rGuie2t8Tt7urarg5nauedRndrur" \
--env MINIO_DOMAIN=localhost minio/minio server /minio
  1. Run tests
cargo test --all
Commit count: 175

cargo fmt