aboutsummaryrefslogtreecommitdiff
path: root/src/api/lib.rs
diff options
context:
space:
mode:
authorTrinity Pointard <trinity.pointard@gmail.com>2021-03-26 22:32:09 +0100
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:10 +0200
commit1e3df189d0dc37880219338c53607152ae0c87e0 (patch)
treedb1a0ccea1b29c8916ed3246ff71ea66b3323bac /src/api/lib.rs
parenta2e1617d845e72c44b07f782801549f209ce14cc (diff)
downloadgarage-1e3df189d0dc37880219338c53607152ae0c87e0.tar.gz
garage-1e3df189d0dc37880219338c53607152ae0c87e0.zip
document api crate
Diffstat (limited to 'src/api/lib.rs')
-rw-r--r--src/api/lib.rs21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/api/lib.rs b/src/api/lib.rs
index 9bb07925..d036cdd6 100644
--- a/src/api/lib.rs
+++ b/src/api/lib.rs
@@ -1,15 +1,20 @@
+#![deny(missing_crate_level_docs, missing_docs)]
+//! Crate for serving a S3 compatible API
#[macro_use]
extern crate log;
-pub mod error;
+mod error;
+pub use error::Error;
-pub mod encoding;
+mod encoding;
-pub mod api_server;
-pub mod signature;
+mod api_server;
+pub use api_server::run_api_server;
-pub mod s3_copy;
-pub mod s3_delete;
+mod signature;
+
+mod s3_copy;
+mod s3_delete;
pub mod s3_get;
-pub mod s3_list;
-pub mod s3_put;
+mod s3_list;
+mod s3_put;