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;
|
2018-12-05 09:16:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pub mod server {
|
|
|
|
|
2018-12-05 11:42:25 +00:00
|
|
|
pub mod formatter;
|
2018-12-05 09:16:23 +00:00
|
|
|
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;
|
|
|
|
|
2018-12-31 15:08:04 +00:00
|
|
|
pub mod backup;
|
2018-12-07 09:51:53 +00:00
|
|
|
|
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 {
|
|
|
|
|
2018-11-30 10:15:26 +00:00
|
|
|
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;
|
2018-11-14 12:22:33 +00:00
|
|
|
|
2018-12-10 12:36:52 +00:00
|
|
|
pub mod cli {
|
|
|
|
|
|
|
|
pub mod command;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-11-03 09:42:48 +00:00
|
|
|
pub mod api3;
|