mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
34 lines
1.2 KiB
Rust
34 lines
1.2 KiB
Rust
//! Media storage, validation, and thumbnail generation for Buzz.
|
|
//!
|
|
//! Library crate — no Axum dependency for handlers. Axum handlers live in `buzz-relay`.
|
|
|
|
pub mod auth;
|
|
pub mod bucket_index;
|
|
pub mod config;
|
|
pub mod error;
|
|
pub mod storage;
|
|
pub mod thumbnail;
|
|
pub mod types;
|
|
pub mod upload;
|
|
pub mod upload_record;
|
|
pub mod validation;
|
|
|
|
pub use bucket_index::{
|
|
classify_key, fold_bucket_listing, is_tenant_owned_key, sweep_bucket_taxonomy, tenant_prefixes,
|
|
BucketAggregate, BucketSnapshot, CommunityStorage, KeyClass, Page, SweepError,
|
|
TaxonomySweepOutcome,
|
|
};
|
|
pub use config::{MediaConfig, S3AddressingStyle};
|
|
pub use error::MediaError;
|
|
pub use storage::{
|
|
BlobHeadMeta, BlobMeta, BulkDeleteOutcome, ByteStream, MediaStorage, ObjectVersionEntry,
|
|
ObjectVersionKind, ObjectVersionRef, ObjectVersionsPage,
|
|
};
|
|
pub use types::BlobDescriptor;
|
|
pub use upload::{process_file_upload, process_upload, process_video_upload};
|
|
pub use upload_record::{
|
|
parse_port, parse_public_ip, upload_record_key, UploadAttribution, UploadNetworkInfo,
|
|
UploadRecord, UPLOAD_RECORD_VERSION,
|
|
};
|
|
pub use validation::{looks_like_iso_bmff, serve_inline, validate_video_file, VideoMeta};
|