Skip to main content

Module storage

Module storage 

Source
Expand description

Object storage backends for file upload and download.

Provides a StorageBackend trait with implementations for local filesystem, AWS S3, Google Cloud Storage, Azure Blob Storage, and S3-compatible European providers (Hetzner, Scaleway, OVH, Exoscale, Backblaze B2).

Re-exports§

pub use local::LocalStorageBackend;

Modules§

local
Local filesystem storage backend.

Traits§

StorageBackend
Trait for object storage backends.

Functions§

create_backend
Creates a storage backend from a StorageConfig.
validate_key
Validates that a storage key is safe (no path traversal).

Type Aliases§

StorageResult
Result type for storage operations.