Closed jjant closed 4 months ago
You’re right. I’ll have a look at this for you!
Hmm cannot immediately find out why. Master code is also very different doc/attribute wise compared to latest release.
Ok found how to do it. https://github.com/tower-rs/tower/pull/754
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.