#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

#322 in HTTP client

Download history 8/week @ 2024-02-25 58/week @ 2024-03-24 38/week @ 2024-03-31

96 downloads per month

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

~7MB
~157K SLoC