]> git.proxmox.com Git - proxmox-backup.git/blame - src/lib.rs
cleanup parameter types
[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
22245422
DM
33pub mod section_config;
34
35cf5daa
DM
35pub mod backup {
36
37 pub mod chunk_store;
38}
39
678d72df
DM
40pub mod config {
41
567713b4 42 pub mod datastore;
678d72df
DM
43}
44
948c74f4
DM
45pub mod storage {
46
bfb1d69a 47 pub mod config;
948c74f4
DM
48 pub mod futures;
49}
50
845901f4 51pub mod getopts;
1a53be14 52
b7329c8a
DM
53pub mod cli {
54
55 pub mod command;
56}
57
58
504b3597 59pub mod api3;