Tower Rs Tower Versions Save

async fn(Request) -> Result

tower-layer-0.3.2

1 year ago

Added

  • Implement Layer for tuples of up to 16 elements (#694)

tower-0.4.13

1 year ago

Added

  • load_shed: Public constructor for Overloaded error (#661)

Fixed

  • util: Fix hang with call_all when the Stream of requests is pending (#656)
  • ready_cache: Ensure cancelation is observed by pending services (#668, fixes #415)
  • docs: Fix a missing section header due to a typo (#646)
  • docs: Fix broken links to Service trait (#659)

tower-service-0.3.2

1 year ago

Added

  • docs: Clarify subtlety around cloning and readiness in the Service docs (#548)
  • docs: Clarify details around shared resource consumption in poll_ready() (#662)

tower-0.4.12

2 years ago

Fixed

  • hedge, load, retry: Fix use of Instant operations that can panic on platforms where Instant is not monotonic (#633)
  • Disable attributes feature on tracing dependency (#623)
  • Remove unused dependencies and dependency features with some feature combinations (#603, #602)
  • docs: Fix a typo in the RustDoc for Buffer (#622)

Changed

  • Updated minimum supported Rust version (MSRV) to 1.49.0.
  • hedge: Updated hdrhistogram dependency to v7.0 (#602)
  • Updated tokio-util dependency to v0.7 (#638)

tower-0.4.11

2 years ago

Added

  • util: Add BoxCloneService which is a Clone + Send boxed Service (#615)
  • util: Add ServiceExt::boxed and ServiceExt::boxed_clone for applying the BoxService and BoxCloneService middleware (#616)
  • builder: Add ServiceBuilder::boxed and ServiceBuilder::boxed_clone for applying BoxService and BoxCloneService layers (#616)

Fixed

  • util: Remove redundant F: Clone bound from ServiceExt::map_request (#607)
  • util: Remove unnecessary Debug bounds from impl Debug for BoxService (#617)
  • util: Remove unnecessary Debug bounds from impl Debug for UnsyncBoxService (#617)
  • balance: Remove redundant Req: Clone bound from Clone impls for MakeBalance, and MakeBalanceLayer (#607)
  • balance: Remove redundant Req: Debug bound from Debug impls for MakeBalance, MakeFuture, Balance, and Pool (#607)
  • ready-cache: Remove redundant Req: Debug bound from Debug impl for ReadyCache (#607)
  • steer: Remove redundant Req: Debug bound from Debug impl for Steer (#607)
  • docs: Fix doc(cfg(...)) attributes of PeakEwmaDiscover, and PendingRequestsDiscover (#610)

tower-0.4.10

2 years ago
  • Fix accidental breaking change when using the rustdoc::broken_intra_doc_links lint (#605)
  • Clarify that tower's minimum supported rust version is 1.46 (#605)

tower-0.4.9

2 years ago
  • Migrate to pin-project-lite (#595)
  • builder: Implement Layer for ServiceBuilder (#600)
  • builder: Add ServiceBuilder::and_then analogous to ServiceExt::and_then (#601)

tower-0.4.8

2 years ago

Added

  • builder: Add ServiceBuilder::map_result analogous to ServiceExt::map_result (#583)
  • limit: Add GlobalConcurrencyLimitLayer to allow reusing a concurrency limit across multiple services (#574)

tower-0.4.6

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)

tower-0.4.5

3 years ago

Added

  • util: Add ServiceExt::map_future. (#542)
  • builder: Add ServiceBuilder::option_layer to optionally add a layer. (#555)
  • make: Add Shared which lets you implement MakeService by cloning a service. (#533)

Fixed

  • util: Make combinators that contain closures implement Debug. They previously wouldn't since closures never implement Debug. (#552)
  • steer: Implement Clone for Steer. (#554)
  • spawn-ready: SpawnReady now propagates the current tracing span to spawned tasks (#557)
  • Only pull in tracing for the features that need it. (#551)