aquila_s3

Crates.ioaquila_s3
lib.rsaquila_s3
version0.6.0
created_at2026-01-06 01:17:01.694537+00
updated_at2026-01-07 08:31:19.82506+00
descriptionAquila asset server s3 file backend implementation
homepage
repositoryhttps://github.com/NicoZweifel/aquila
max_upload_size
id2024898
size77,294
Nico Zweifel (NicoZweifel)

documentation

README

Aquila S3 Storage

Crates.io Downloads Docs

A storage backend powered by AWS S3.

Uses the official [aws-sdk-s3] to store assets in an S3 bucket. It supports prefixes for organizing data within shared buckets and Presigned URLs for downloads via S3/CDN directly.

Configuration

Requires the standard AWS environment variables (e.g., AWS_REGION, AWS_ACCESS_KEY_ID) handled by aws-config.

Usage

let config = aws_config::load_from_env().await;
let client = Client::new(&config);

let storage = S3Storage::new(
    client,
    "my-game-assets".to_string(), // Bucket
    Some("production/".to_string()) // Optional Prefix
)
// Optional: Enable Presigned URLs (Direct S3 Download)
.with_presigning(Duration::from_secs(300));

License: MIT OR Apache-2.0

Commit count: 107

cargo fmt