| Crate Features |
Description |
Enabled by default? |
export-crates |
Exports all the used AWS crates as a module called aws |
Yes. |
unstable |
Tap into unstable features from remi_gridfs and the remi crate. |
No. |
tracing |
Enables the use of tracing::instrument and emit events for actions by the crate. |
No. |
serde |
Enables the use of serde in StorageConfig |
No. |
log |
Emits log records for actions by the crate |
No. |
Example
// Cargo.toml:
//
// [dependencies]
// remi = "^0"
// remi-s3 = { version = "^0", features = ["export-crates"] }
// tokio = { version = "^1", features = ["full"] }
use remi_s3::{StorageService, StorageConfig, aws::s3};
use remi::{StorageService as _, UploadRequest};
#[tokio::main]
async fn main() {
}