Deprecated
- util: Deprecated
ServiceExt::ready_and
(renamed to
ServiceExt::ready
). (#567) - util: Deprecated
ReadyAnd
future (renamed toReady
). (#567)
Added
- builder: Add
ServiceBuilder::layer_fn
to add a layer built from
a function. (#560) - builder: Add
ServiceBuilder::map_future
for transforming the
futures produced by a service. (#559) - builder: Add
ServiceBuilder::service_fn
for applyingLayer
s to
an async function usingutil::service_fn
. (#564) - util: Add example for
service_fn
. (#563) - util: Add
BoxLayer
for creating boxedLayer
trait objects.
(#569)