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