60d4459926
fix #77 this does not store anything but a on/off switch for website, and does not implement GetBucketWebsite as it would require storing more. GetBucketWebsite should be pretty easy to implement once data is stored though. Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/174 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
25 lines
336 B
Rust
25 lines
336 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_website;
|
|
mod s3_xml;
|