]> git.proxmox.com Git - proxmox-backup.git/blame - src/lib.rs
parse_arguments: work with utf8 bytes and reduce indentation
[proxmox-backup.git] / src / lib.rs
CommitLineData
d11f14f7 1pub mod static_map;
504b3597 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
f12f8ff1
DM
13pub mod tools;
14
504b3597 15#[macro_use]
f17db0ab 16pub mod api {
504b3597 17
f17db0ab
DM
18 #[macro_use]
19 pub mod schema;
dc454ef0 20 pub mod registry;
f17db0ab
DM
21 #[macro_use]
22 pub mod router;
23 pub mod config;
08341861
DM
24}
25
26pub mod server {
27
1571873d 28 pub mod formatter;
08341861 29 pub mod rest;
504b3597 30
f17db0ab 31}
16b48b81 32
b62b6cad
DM
33pub mod catar {
34
35 pub mod format_definition;
fb8365b7 36 pub mod encoder;
b62b6cad
DM
37}
38
22245422
DM
39pub mod section_config;
40
35cf5daa
DM
41pub mod backup {
42
43 pub mod chunk_store;
606ce64b 44 pub mod image_index;
529de6c7 45 pub mod datastore;
35cf5daa
DM
46}
47
678d72df
DM
48pub mod config {
49
567713b4 50 pub mod datastore;
678d72df
DM
51}
52
948c74f4
DM
53pub mod storage {
54
bfb1d69a 55 pub mod config;
948c74f4
DM
56 pub mod futures;
57}
58
845901f4 59pub mod getopts;
1a53be14 60
b7329c8a
DM
61pub mod cli {
62
63 pub mod command;
64}
65
66
504b3597 67pub mod api3;