mini-serve 0.13.8

An HTTP server: trie router, middleware, CORS, optional TLS. Built on hyper + tokio.
Documentation
#![doc = include_str!("../README.md")]
// Not `deny`: `forbid` cannot be switched off by an inner `allow`, so this is a property
// of the crate rather than a default someone can quietly opt out of in one module. It
// binds this crate's own code only — `tokio`, `hyper`, `bytes` and `mio` all contain
// `unsafe`, as any async runtime must.
#![forbid(unsafe_code)]

mod app;
mod body;
mod cors;
mod error;
mod extract;
mod handler;
mod response;
mod router;
mod state;

pub use app::{shutdown_signal, App, PeerAddr, RouteBuilder};
pub use body::{json_body, MaxBodySize, DEFAULT_MAX_BODY_SIZE};
pub use cors::{CorsConfig, CorsConfigBuilder, CorsConfigError};
pub use error::ServeError;
pub use extract::{path_params, query_params};
pub use handler::{body, handler, BodyError, Handler, Middleware, OnUpgrade, ResponseBody, UpgradedIo};
pub use response::json;
pub use router::{PathParams, QueryParams};
pub use state::State;