strois

Crates.iostrois
lib.rsstrois
version0.0.4
sourcesrc
created_at2023-10-09 16:25:20.677507
updated_at2023-10-10 17:18:46.951828
descriptionS3 synchronous SDK based on rusty_s3 and ureq
homepage
repositoryhttps://github.com/meilisearch/strois
max_upload_size
id998233
size53,441
Tamo (irevoire)

documentation

README

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>(())
Commit count: 35

cargo fmt