diff --git a/examples/hyper.rs b/examples/hyper.rs index bda92bd..de62c1e 100644 --- a/examples/hyper.rs +++ b/examples/hyper.rs @@ -1,4 +1,5 @@ use std::collections::HashMap; +use std::future; use std::sync::Arc; use http_body_util::Full; @@ -54,6 +55,9 @@ async fn route(router: Arc, req: Request) -> hyper::Result