forked from Deuxfleurs/garage
trinity-1686a
c4ac8835d3
fix #161 Current request router was organically grown, and is getting messier and messier with each addition. This router cover exaustively existing API endpoints (with exceptions listed in [#161(comment)](Deuxfleurs/garage#161 (comment)) either because new and old api endpoint can't feasabily be differentied, or it's more lambda than s3). Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: Deuxfleurs/garage#163 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
23 lines
320 B
Rust
23 lines
320 B
Rust
//! Crate for serving a S3 compatible API
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
mod error;
|
|
pub use error::Error;
|
|
|
|
mod encoding;
|
|
|
|
mod api_server;
|
|
pub use api_server::run_api_server;
|
|
|
|
mod signature;
|
|
|
|
pub mod helpers;
|
|
mod s3_bucket;
|
|
mod s3_copy;
|
|
mod s3_delete;
|
|
pub mod s3_get;
|
|
mod s3_list;
|
|
mod s3_put;
|
|
mod s3_router;
|
|
mod s3_xml;
|