tower-rs/tower
 Watch   
 Star   
 Fork   
2026-01-13 02:41:54
tower

tower 0.5.3

Added

  • builder: Add ServiceBuilder::boxed_clone_sync() helper (#804)

Fixed

  • retry: Check that supplied jitter is not NaN (#843)
2024-12-11 21:25:54
tower

tower 0.5.2

Added

  • util: Add BoxCloneSyncService which is a Clone + Send + Sync boxed Service (#777)
  • util: Add BoxCloneSyncServiceLayer which is a Clone + Send + Sync boxed Layer (#802)
2024-08-22 07:36:33
tower

tower 0.5.1

  • Fix minimum version of tower-layer dependency (#787)
2024-08-14 00:48:56
tower

tower-layer 0.3.3

Added

  • builder,util: add convenience methods for boxing services (#616)
  • all: new functions const when possible (#760)
2024-08-14 00:48:56
tower

tower 0.5.0

Fixed

  • util: BoxService is now Sync (#702)

Changed

  • util: Removed deprecated ServiceExt::ready_and method and ReadyAnd future (#652)
  • retry: Breaking Change retry::Policy::retry now accepts &mut Req and &mut Res instead of the previous mutable versions. This increases the flexibility of the retry policy. To update, update your method signature to include mut for both parameters. (#584)
  • retry: Breaking Change Change Policy to accept &mut self (#681)
  • retry: Add generic backoff utilities (#685)
  • retry: Add Budget trait. This allows end-users to implement their own budget and bucket implementations. (#703)
  • reconnect: Breaking Change Remove unused generic parameter from Reconnect::new (#755)
  • ready-cache: Allow iteration over ready services (#700)
  • discover: Implement Clone for Change (#701)
  • util: Add a BoxCloneServiceLayer (#708)
  • rng: use a simpler random 2-sampler (#716)
  • filter: Derive Clone for AsyncFilterLayer (#731)
  • general: Update IndexMap (#741)
  • MSRV: Increase MSRV to 1.63.0 (#741)
2022-10-11 02:27:58
tower

tower-layer 0.3.2

Added

  • Implement Layer for tuples of up to 16 elements (#694)
2022-06-18 03:44:17
tower

tower-service 0.3.2

Added

  • docs: Clarify subtlety around cloning and readiness in the Service docs (#548)
  • docs: Clarify details around shared resource consumption in poll_ready() (#662)
2022-06-18 03:44:17
tower

tower 0.4.13

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)
2022-02-17 07:00:17
tower

tower 0.4.12

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)
2021-11-19 03:40:01
tower

Tower 0.4.11

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)