proxmox-backup/src/lib.rs

65 lines
919 B
Rust
Raw Normal View History

2019-01-05 15:53:28 +00:00
pub mod tools;
2018-11-24 16:52:43 +00:00
/// API definition helper
///
/// This module contains helper classes to define REST APIs. Method
/// parameters and return types are described using a
/// [Schema](schema/enum.Schema.html).
///
/// The [Router](router/struct.Router.html) is used to define a
/// hierarchy of API entries, and provides ways to find an API
/// definition by path.
2018-11-03 09:42:48 +00:00
#[macro_use]
2018-11-15 16:07:10 +00:00
pub mod api {
2018-11-03 09:42:48 +00:00
2018-11-15 16:07:10 +00:00
#[macro_use]
pub mod schema;
2018-11-22 10:23:49 +00:00
pub mod registry;
2018-11-15 16:07:10 +00:00
#[macro_use]
pub mod router;
pub mod config;
}
#[macro_use]
pub mod server {
2018-12-05 11:42:25 +00:00
pub mod formatter;
#[macro_use]
pub mod rest;
2018-11-03 09:42:48 +00:00
2018-11-15 16:07:10 +00:00
}
2018-11-15 09:14:08 +00:00
2018-12-30 12:47:27 +00:00
pub mod catar;
2018-12-27 08:22:23 +00:00
2018-11-19 05:47:39 +00:00
pub mod section_config;
pub mod backup;
2018-12-08 12:58:45 +00:00
pub mod config {
2018-12-08 13:51:08 +00:00
pub mod datastore;
2018-12-08 12:58:45 +00:00
}
2018-11-19 05:40:57 +00:00
pub mod storage {
pub mod config;
2018-11-19 05:40:57 +00:00
pub mod futures;
}
2018-11-16 12:14:11 +00:00
pub mod getopts;
pub mod cli {
pub mod command;
}
2018-11-03 09:42:48 +00:00
pub mod api3;
pub mod client {
pub mod http_client;
pub mod catar_backup_stream;
}