aboutsummaryrefslogtreecommitdiff
path: root/src/api/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/lib.rs')
-rw-r--r--src/api/lib.rs20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/api/lib.rs b/src/api/lib.rs
index 9bb07925..be7e37c8 100644
--- a/src/api/lib.rs
+++ b/src/api/lib.rs
@@ -1,15 +1,19 @@
+//! 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;