Crates.io | shuttle-warp |
lib.rs | shuttle-warp |
version | 0.57.0 |
created_at | 2023-03-14 12:27:24.455302+00 |
updated_at | 2025-09-11 12:13:16.64394+00 |
description | Service implementation to run a warp webserver on shuttle |
homepage | |
repository | https://github.com/shuttle-hq/shuttle |
max_upload_size | |
id | 809810 |
size | 59,334 |
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())
}