`tower::service_fn` docs don't say that you need the `util` flag
jjant opened this issue · comments
Julian Antonielli commented
See the docs for it: https://docs.rs/tower/latest/tower/fn.service_fn.html.
It doesn't mention that you need to enable util
which is a bit confusing.
Glen De Cauwsemaecker commented
You’re right. I’ll have a look at this for you!
Glen De Cauwsemaecker commented
Hmm cannot immediately find out why. Master code is also very different doc/attribute wise compared to latest release.
Glen De Cauwsemaecker commented
Ok found how to do it.
#754