Skip to content

Tower 0.4.6

Compare
Choose a tag to compare
@davidpdrsn davidpdrsn released this 27 Feb 13:07
· 118 commits to master since this release
4fb257c

Deprecated

  • util: Deprecated ServiceExt::ready_and (renamed to
    ServiceExt::ready). (#567)
  • util: Deprecated ReadyAnd future (renamed to Ready). (#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 applying Layers to
    an async function using util::service_fn. (#564)
  • util: Add example for service_fn. (#563)
  • util: Add BoxLayer for creating boxed Layer trait objects.
    (#569)