]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/lib.rs
server: rest: refactor code to avoid multiple log_response calls
[proxmox-backup.git] / src / lib.rs
index 810fe8ae0b31c798fc300debf6a9d3d76366c3fd..c44c9ae195ed2f8301ade1316b324892d7093e18 100644 (file)
@@ -1,52 +1,27 @@
-pub mod static_map;
-
-/// API definition helper
-///
-/// This module contains helper classes to define REST APIs. Method
-/// parameters and return types are described using a
-/// [Schema](schema/enum.Schema.html).
-///
-/// The [Router](router/struct.Router.html) is used to define a
-/// hierarchy of API entries, and provides ways to find an API
-/// definition by path.
+pub mod task;
 
 #[macro_use]
-pub mod api {
+pub mod buildcfg;
 
-    #[macro_use]
-    pub mod schema;
-    pub mod registry;
-    #[macro_use]
-    pub mod router;
-    pub mod config;
-}
-
-pub mod server {
-
-    pub mod formatter;
-    pub mod rest;
-
-}
-
-pub mod section_config;
+#[macro_use]
+pub mod tools;
 
-pub mod backup {
+#[macro_use]
+pub mod server;
 
-    pub mod chunk_store;
-}
+pub mod pxar;
 
-pub mod config {
+#[macro_use]
+pub mod backup;
 
-    pub mod data_store;
-}
+pub mod config;
 
-pub mod storage {
+pub mod api2;
 
-    pub mod config;
-    pub mod futures;
-}
+pub mod client;
 
-pub mod getopts;
+pub mod auth_helpers;
 
-pub mod api3;
+pub mod auth;
 
+pub mod rrd;