Crate shuttle_warp

Crate shuttle_warp 

Source
Expand description

§Shuttle service integration for the Warp web framework

§Example

use warp::Filter;
use warp::Reply;

#[shuttle_runtime::main]
async fn warp() -> shuttle_warp::ShuttleWarp<(impl Reply,)> {
    let route = warp::any().map(|| "Hello, World!");
    Ok(route.boxed().into())
}

Re-exports§

pub use warp;

Structs§

WarpService
A wrapper type for warp::Filter so we can implement shuttle_runtime::Service for it.

Type Aliases§

ShuttleWarp
Shuttle service integration for the Warp web framework