Crates.io | strois |
lib.rs | strois |
version | 0.0.4 |
source | src |
created_at | 2023-10-09 16:25:20.677507 |
updated_at | 2023-10-10 17:18:46.951828 |
description | S3 synchronous SDK based on rusty_s3 and ureq |
homepage | |
repository | https://github.com/meilisearch/strois |
max_upload_size | |
id | 998233 |
size | 53,441 |
An S3 synchronous SDK based on rusty_s3 and ureq.
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>(())