#AWS #S3

s4

Simpler Simple Storage Service: highlevel API extensions for Rusoto’s S3Client

8 releases

0.0.7 Aug 8, 2018
0.0.6 Jun 9, 2018
0.0.5 Apr 14, 2018
0.0.4 Mar 12, 2018
0.0.3 Jan 24, 2018

#5 in #s3

Download history 1/week @ 2018-05-17 14/week @ 2018-05-24 60/week @ 2018-05-31 1/week @ 2018-06-07 18/week @ 2018-06-14 11/week @ 2018-06-21 23/week @ 2018-06-28 19/week @ 2018-07-05 9/week @ 2018-07-12 22/week @ 2018-07-19 1/week @ 2018-07-26 27/week @ 2018-08-02 47/week @ 2018-08-09

84 downloads per month

LGPL-3.0+

24KB
484 lines

S4 - Simpler Simple Storage Service

crates.io

:warning: This create is still under heavy development and not yet production ready.

What is S4

S4 is attempt to provide a high-level API for S3. It is based on Rusoto and merely extents 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 iterate through all objects or objects with a given prefix

Implementation details

Most functionality is provided by the S4 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

Dependencies

~16MB
~359K SLoC