]> git.proxmox.com Git - proxmox-backup.git/blame - src/lib.rs
backup/datastore.rs: use single lazy_static block
[proxmox-backup.git] / src / lib.rs
CommitLineData
51b499db
DM
1pub mod tools;
2
07d3fa72
DM
3/// API definition helper
4///
5/// This module contains helper classes to define REST APIs. Method
6/// parameters and return types are described using a
7/// [Schema](schema/enum.Schema.html).
8///
9/// The [Router](router/struct.Router.html) is used to define a
10/// hierarchy of API entries, and provides ways to find an API
11/// definition by path.
12
504b3597 13#[macro_use]
f17db0ab 14pub mod api {
504b3597 15
f17db0ab
DM
16 #[macro_use]
17 pub mod schema;
dc454ef0 18 pub mod registry;
f17db0ab
DM
19 #[macro_use]
20 pub mod router;
21 pub mod config;
08341861
DM
22}
23
7e21da6e 24#[macro_use]
08341861
DM
25pub mod server {
26
1571873d 27 pub mod formatter;
7e21da6e 28 #[macro_use]
08341861 29 pub mod rest;
504b3597 30
f17db0ab 31}
16b48b81 32
4fa71e05 33pub mod catar;
b62b6cad 34
22245422
DM
35pub mod section_config;
36
cbdd8c54 37pub mod backup;
35cf5daa 38
678d72df
DM
39pub mod config {
40
567713b4 41 pub mod datastore;
678d72df
DM
42}
43
948c74f4
DM
44pub mod storage {
45
bfb1d69a 46 pub mod config;
948c74f4
DM
47 pub mod futures;
48}
49
845901f4 50pub mod getopts;
1a53be14 51
b7329c8a
DM
52pub mod cli {
53
54 pub mod command;
55}
56
57
576e3bf2 58pub mod api2;
e8edbbd4
DM
59
60pub mod client {
61
597641fd 62 pub mod http_client;
e8edbbd4
DM
63 pub mod catar_backup_stream;
64}