garage/src/api/lib.rs

28 lines
459 B
Rust
Raw Normal View History

2021-03-26 21:32:09 +00:00
//! Crate for serving a S3 compatible API
2020-04-24 10:10:01 +00:00
#[macro_use]
extern crate tracing;
2020-04-24 10:10:01 +00:00
pub mod error;
2021-03-26 21:32:09 +00:00
pub use error::Error;
2020-11-08 14:04:30 +00:00
2021-03-26 21:32:09 +00:00
mod encoding;
2020-04-28 10:18:14 +00:00
2021-03-26 21:32:09 +00:00
mod api_server;
pub use api_server::run_api_server;
2020-04-24 18:47:11 +00:00
/// This mode is public only to help testing. Don't expect stability here
pub mod signature;
2021-03-26 21:32:09 +00:00
2021-11-11 10:26:02 +00:00
pub mod helpers;
mod s3_bucket;
2021-03-26 21:32:09 +00:00
mod s3_copy;
pub mod s3_cors;
2021-03-26 21:32:09 +00:00
mod s3_delete;
2020-04-24 18:47:11 +00:00
pub mod s3_get;
2021-03-26 21:32:09 +00:00
mod s3_list;
mod s3_post_object;
2021-03-26 21:32:09 +00:00
mod s3_put;
mod s3_router;
mod s3_website;
mod s3_xml;