]> git.proxmox.com Git - proxmox-backup.git/blame - src/lib.rs
chunk_store.insert_chunk: return information about existing chunks
[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
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
24pub mod server {
25
1571873d 26 pub mod formatter;
08341861 27 pub mod rest;
504b3597 28
f17db0ab 29}
16b48b81 30
22245422
DM
31pub mod section_config;
32
35cf5daa
DM
33pub mod backup {
34
35 pub mod chunk_store;
36}
37
948c74f4
DM
38pub mod storage {
39
bfb1d69a 40 pub mod config;
948c74f4
DM
41 pub mod futures;
42}
43
845901f4 44pub mod getopts;
1a53be14 45
504b3597
DM
46pub mod api3;
47