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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#![cfg_attr(finchers_inject_extern_prelude, feature(extern_prelude))]
#![doc(html_root_url = "https://docs.rs/finchers/0.13.2")]
#![warn(
missing_docs,
missing_debug_implementations,
nonstandard_style,
rust_2018_idioms,
unused,
)]
#![cfg_attr(test, deny(warnings))]
#![cfg_attr(test, doc(test(attr(deny(warnings)))))]
#[macro_use]
extern crate bitflags;
extern crate bytes;
extern crate cookie;
extern crate either;
#[macro_use]
extern crate failure;
#[macro_use]
extern crate futures;
extern crate http;
extern crate hyper;
#[macro_use]
extern crate log;
extern crate mime;
extern crate mime_guess;
#[macro_use]
extern crate percent_encoding;
extern crate serde;
extern crate serde_json;
extern crate serde_qs;
extern crate tokio;
extern crate tokio_threadpool;
extern crate tower_service;
extern crate url;
#[cfg(feature = "tower-web")]
extern crate tower_web;
#[cfg(test)]
#[macro_use]
extern crate matches;
mod app;
mod common;
pub mod endpoint;
pub mod endpoints;
pub mod error;
pub mod input;
pub mod output;
pub mod rt;
pub mod server;
pub mod test;
pub mod prelude {
pub use endpoint;
pub use endpoint::wrapper::{EndpointWrapExt, Wrapper};
pub use endpoint::{Endpoint, IntoEndpoint, IntoEndpointExt};
pub use endpoints;
pub use error::HttpError;
}