1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! type based high level async function service.

mod impls;
mod types;

// TODO: enable sync handler when major wasm targets(including wasi) support std threads
#[cfg(not(target_family = "wasm"))]
mod sync;

pub use types::*;

#[cfg(not(target_family = "wasm"))]
pub use sync::handler_sync_service;

pub use xitca_http::util::service::handler::{handler_service, FromRequest, Responder};