puzz_core/lib.rs
1#![forbid(unsafe_code)]
2
3mod request;
4
5pub mod response;
6
7pub use request::Request;
8pub use response::Response;
9
10pub mod body {
11 pub use puzz_http::body::*;
12}
13
14pub mod http {
15 pub use puzz_http::*;
16}
17
18pub mod service {
19 pub use puzz_service::*;
20}
21pub use service::util::{service_fn, wrap_fn};
22
23pub type BoxError = Box<dyn std::error::Error>;