1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#![forbid(unsafe_code)]
#![warn(
clippy::cargo,
missing_docs,
clippy::nursery,
clippy::pedantic,
future_incompatible,
rust_2018_idioms,
)]
#![cfg_attr(doc, deny(rustdoc))]
#![allow(
clippy::missing_errors_doc,
clippy::missing_panics_doc,
clippy::option_if_let_else,
)]
mod admin;
mod async_io_util;
#[cfg(feature = "cli")]
pub mod cli;
mod config;
mod error;
mod hosted;
mod server;
pub use self::{config::Configuration, error::Error, server::Server};
#[cfg(test)]
mod tests;
#[cfg(any(feature = "test-util", test))]
pub mod test_util;