Skip to content

Commit e9240bb

Browse files
chore(deps): update rust crate tower to 0.5.0 (#232)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tower](https://togithub.com/tower-rs/tower) | dev-dependencies | minor | `0.4.13` -> `0.5.0` | | [tower](https://togithub.com/tower-rs/tower) | dependencies | minor | `0.4.13` -> `0.5.0` | --- ### Release Notes <details> <summary>tower-rs/tower (tower)</summary> ### [`v0.5.0`](https://togithub.com/tower-rs/tower/releases/tag/tower-0.5.0): tower 0.5.0 [Compare Source](https://togithub.com/tower-rs/tower/compare/tower-0.4.13...tower-0.5.0) ##### Fixed - **util**: `BoxService` is now `Sync` ([#&#8203;702]) ##### Changed - **util**: Removed deprecated `ServiceExt::ready_and` method and `ReadyAnd` future ([#&#8203;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. ([#&#8203;584]) - **retry**: **Breaking Change** Change Policy to accept \&mut self ([#&#8203;681]) - **retry**: Add generic backoff utilities ([#&#8203;685]) - **retry**: Add Budget trait. This allows end-users to implement their own budget and bucket implementations. ([#&#8203;703]) - **reconnect**: **Breaking Change** Remove unused generic parameter from `Reconnect::new` ([#&#8203;755]) - **ready-cache**: Allow iteration over ready services ([#&#8203;700]) - **discover**: Implement `Clone` for Change ([#&#8203;701]) - **util**: Add a BoxCloneServiceLayer ([#&#8203;708]) - **rng**: use a simpler random 2-sampler ([#&#8203;716]) - **filter**: Derive `Clone` for `AsyncFilterLayer` ([#&#8203;731]) - **general**: Update IndexMap ([#&#8203;741]) - **MSRV**: Increase MSRV to 1.63.0 ([#&#8203;741]) [#&#8203;702]: https://togithub.com/tower-rs/tower/pull/702 [#&#8203;652]: https://togithub.com/tower-rs/tower/pull/652 [#&#8203;584]: https://togithub.com/tower-rs/tower/pull/584 [#&#8203;681]: https://togithub.com/tower-rs/tower/pull/681 [#&#8203;685]: https://togithub.com/tower-rs/tower/pull/685 [#&#8203;703]: https://togithub.com/tower-rs/tower/pull/703 [#&#8203;755]: https://togithub.com/tower-rs/tower/pull/755 [#&#8203;700]: https://togithub.com/tower-rs/tower/pull/700 [#&#8203;701]: https://togithub.com/tower-rs/tower/pull/701 [#&#8203;708]: https://togithub.com/tower-rs/tower/pull/708 [#&#8203;716]: https://togithub.com/tower-rs/tower/pull/716 [#&#8203;731]: https://togithub.com/tower-rs/tower/pull/731 [#&#8203;741]: https://togithub.com/tower-rs/tower/pull/741 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/apollographql/subgraph-template-rust-async-graphql). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent f2128bf commit e9240bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ headers = "0.4.0"
1616
http = "1.1.0"
1717
hyper = "1.3.1"
1818
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread", "signal"] }
19-
tower = "0.4.13"
19+
tower = "0.5.0"
2020
tower-http = { version = "0.5.2", features = ["compression-br", "compression-gzip", "cors"] }
2121
tracing = "0.1.40"
2222
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
2323
urlencoding = "2.1.3"
2424

2525
[dev-dependencies]
26-
tower = { version = "0.4.13", features = ["util"] }
26+
tower = { version = "0.5.0", features = ["util"] }
2727
serde_json = "1.0.116"

0 commit comments

Comments
 (0)