]> git.proxmox.com Git - proxmox-backup.git/blame - src/lib.rs
move chunker.rs to backup/
[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
4fa71e05 33pub mod catar;
b62b6cad 34
22245422
DM
35pub mod section_config;
36
35cf5daa
DM
37pub mod backup {
38
cb4412b1 39 pub mod chunker;
35cf5daa 40 pub mod chunk_store;
606ce64b 41 pub mod image_index;
529de6c7 42 pub mod datastore;
35cf5daa
DM
43}
44
678d72df
DM
45pub mod config {
46
567713b4 47 pub mod datastore;
678d72df
DM
48}
49
948c74f4
DM
50pub mod storage {
51
bfb1d69a 52 pub mod config;
948c74f4
DM
53 pub mod futures;
54}
55
845901f4 56pub mod getopts;
1a53be14 57
b7329c8a
DM
58pub mod cli {
59
60 pub mod command;
61}
62
63
504b3597 64pub mod api3;