Version
1.0
Platform
any
Description
there used to be the function hyper::service::make_service_fn
Now it's gone. There's no mention of it in the docs, no in the ChangeLog, nowhere. Where is it?
How to convert this into v1.0x?
let sf = make_service_fn(|_connection| async {
Ok::<_, Infallible>(service_fn(move |req| handle_post_req(req)))
});
Version
1.0
Platform
any
Description
there used to be the function
hyper::service::make_service_fnNow it's gone. There's no mention of it in the docs, no in the ChangeLog, nowhere. Where is it?
How to convert this into
v1.0x?