#AWS #S3

s4

Simpler Simple Storage Service: high-level API extensions for Rusoto’s S3Client

14 releases

✓ Uses Rust 2018 edition

0.0.13 Mar 31, 2019
0.0.11 Dec 17, 2018
0.0.9 Nov 3, 2018
0.0.6 Jun 9, 2018
0.0.4 Mar 12, 2018

#8 in #s3

Download history 36/week @ 2018-12-17 29/week @ 2018-12-24 15/week @ 2018-12-31 28/week @ 2019-01-07 12/week @ 2019-01-14 37/week @ 2019-01-21 6/week @ 2019-01-28 6/week @ 2019-02-04 9/week @ 2019-02-11 5/week @ 2019-02-18 27/week @ 2019-02-25 40/week @ 2019-03-04 15/week @ 2019-03-11 18/week @ 2019-03-18 69/week @ 2019-03-25

92 downloads per month

LGPL-3.0+

25KB
484 lines

S4 - Simpler Simple Storage Service

crates.io

⚠️ 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

~14MB
~288K SLoC