#amazon-s3 #s3 #sdk #sync #meilisearch

bin+lib strois

S3 synchronous SDK based on rusty_s3 and ureq

4 releases

0.0.4 Oct 10, 2023
0.0.3 Oct 10, 2023
0.0.2 Oct 10, 2023
0.0.1 Oct 9, 2023

#357 in HTTP client

MIT license

33KB
812 lines

Strois

An S3 synchronous SDK based on rusty_s3 and ureq.

Usage

Sending and retrieving a document on S3

use strois::Builder;

let bucket = Builder::new("http://localhost:9000")?
    .key("minioadmin")
    .secret("minioadmin")
    .bucket("tamo")?
    .create()?;
bucket.put_object("tamo", b"kero")?;

let content = bucket.get_object_string("tamo")?;
assert_eq!(content, "kero");
# Ok::<(), strois::Error>(())

Dependencies

~6.5MB
~145K SLoC