rusty-s3
Simple pure Rust AWS S3 Client following a Sans-IO approach, with a modern and rusty take onto s3's APIs.
Request signing and response parsing capabilities are provided for the most common S3 actions, using AWS Signature Version 4.
Minio compatibility tested on every commit by GitHub Actions.
Examples
use env;
use Duration;
use ;
// setting up a bucket
let endpoint = "https://s3.dualstack.eu-west-1.amazonaws.com".parse.expect;
let path_style = VirtualHost;
let name = "rusty-s3";
let region = "eu-west-1";
let bucket = new.expect;
// setting up the credentials
let key = var.expect;
let secret = var.expect;
let credentials = new;
// signing a request
let presigned_url_duration = from_secs;
let action = bucket.get_object;
println!;
More examples can be found in the examples directory on GitHub.
Supported S3 actions
- Bucket level methods
- Basic methods
- Multipart upload