| Crates.io | zitane-s3-async |
| lib.rs | zitane-s3-async |
| version | 0.37.0 |
| created_at | 2023-07-15 14:42:12.713782+00 |
| updated_at | 2023-07-15 14:48:14.589047+00 |
| description | Rust library for working with AWS S3 and compatible object storage APIs |
| homepage | |
| repository | https://github.com/ZitaneLabs/rust-s3-async |
| max_upload_size | |
| id | 917253 |
| size | 207,347 |
This is a fork of aalekhpatel07/rust-s3-async, which is a fork of durch/rust-s3.
It's used in our internal and upcoming projects, and is not intended to be used by anyone else.
Rust library for working with Amazon S3 or arbitrary S3 compatible APIs, fully compatible with async/await. Uses tokio under the hood.
Read and run examples from the examples folder, make sure you have valid credentials for the variant you're running.
# tokio, default
cargo run --example tokio
# minio
# First, start Minio on port 9000.
AWS_ACCESS_KEY_ID="minioadmin" \
AWS_SECRET_ACCESS_KEY="minioadmin" \
cargo run --example minio
# r2
cargo run --example r2
# google cloud
cargo run --example google-cloud
There are a lot of various features that enable a wide variety of use cases, refer to s3/Cargo.toml for an exhaustive list.
default - tokio runtime and a native-tls implementationno-verify-ssl - disable SSL verification for endpoints, useful for custom regionsBucket struct provides constructors for path-style paths, subdomain style is the default. Bucket exposes methods for configuring and accessing path-style configuration.
createdeletelistexistslocationhead_objectget_objectget_object_streamget_object_to_writerput_objectput_object_with_content_typeput_object_streamput_object_taggingdelete_objectobject_existspresign_postpresign_putpresign_getpresign_delete