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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! Tsukuyomi is an asynchronous Web framework for Rust.

#![doc(html_root_url = "https://docs.rs/tsukuyomi/0.5.1")]
#![deny(
    missing_debug_implementations,
    nonstandard_style,
    rust_2018_idioms,
    rust_2018_compatibility,
    unused
)]
#![cfg_attr(test, deny(warnings))]
#![forbid(clippy::unimplemented)]

#[macro_use]
pub mod util;

mod generic;
mod uri;

pub mod app;
pub mod config;
pub mod endpoint;
pub mod error;
pub mod extractor;
pub mod fs;
pub mod future;
pub mod handler;
pub mod input;
pub mod modifiers;
pub mod output;
pub mod responder;

#[doc(inline)]
pub use crate::{
    app::App,
    endpoint::Endpoint,
    error::{
        Error, //
        HttpError,
        Result,
    },
    extractor::Extractor,
    handler::{Handler, ModifyHandler},
    input::Input,
    output::IntoResponse,
    responder::Responder,
};

/// Re-export of crates used within the framework and frequently used on the user side.
pub mod vendor {
    pub use futures01 as futures;
    pub use http;
}