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 |
#438 in HTTP client
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
~7.5MB
~129K SLoC