github tower-rs/tower tower-0.4.6
Tower 0.4.6

latest releases: tower-0.5.1, tower-0.5.0, tower-layer-0.3.3...
3 years ago

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)

Don't miss a new tower release

NewReleases is sending notifications on new releases.