Integration / Tokio

For compatibility with other libraries in the ecosystem, Pantomime's dispatchers can serve as a Tokio Executor.

Tokio integration is provided by the tokio-support feature, which must be enabled in Cargo.toml.

Hyper

Hyper is an HTTP library for the Rust language. Refer to the Hyper example to see how you can combine Pantomime's Tokio support with Hyper to provide an HTTP interface to your applications.