]> git.proxmox.com Git - proxmox-backup.git/blob - src/lib.rs
load auth keys on startup
[proxmox-backup.git] / src / lib.rs
1 #[macro_use]
2 pub mod tools;
3
4 /// API definition helper
5 ///
6 /// This module contains helper classes to define REST APIs. Method
7 /// parameters and return types are described using a
8 /// [Schema](schema/enum.Schema.html).
9 ///
10 /// The [Router](router/struct.Router.html) is used to define a
11 /// hierarchy of API entries, and provides ways to find an API
12 /// definition by path.
13
14 #[macro_use]
15 pub mod api {
16
17 #[macro_use]
18 pub mod schema;
19 pub mod registry;
20 #[macro_use]
21 pub mod router;
22 pub mod config;
23 }
24
25 #[macro_use]
26 pub mod server {
27
28 pub mod environment;
29 pub mod formatter;
30 #[macro_use]
31 pub mod rest;
32
33 }
34
35 pub mod catar;
36
37 pub mod section_config;
38
39 pub mod backup;
40
41 pub mod config {
42
43 pub mod datastore;
44 }
45
46 pub mod storage {
47
48 pub mod config;
49 pub mod futures;
50 }
51
52 pub mod cli {
53
54 pub mod environment;
55 pub mod command;
56 }
57
58
59 pub mod api2;
60
61 pub mod client {
62
63 pub mod http_client;
64 pub mod catar_backup_stream;
65 }
66
67 pub mod getopts;
68 pub mod auth_helpers;