1pub mod client;
2pub mod content_type;
3pub mod listing;
4pub mod multipart;
5
6pub use client::{
7 format_size, get_bucket_region, list_buckets, BucketInfo, FolderContent, S3ClientManager,
8 S3Object,
9};
10pub use content_type::{infer_content_type, validate_content_type};
11pub use multipart::{
12 plan_multipart_upload, MultipartPart, MultipartPlan, MultipartUploadGuard,
13 MULTIPART_UPLOAD_THRESHOLD,
14};
15use std::sync::Arc;
16use tokio::sync::RwLock;
17
18pub type S3State = Arc<RwLock<S3ClientManager>>;