twitch-rs / twitch_api

Rust library for talking with the Twitch API aka. "Helix", TMI and more! Use Twitch endpoints fearlessly!
Apache License 2.0
150 stars 33 forks source link

chore(deps): update rust dependencies - autoclosed #432

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
hyper (source) dependencies minor 1.4.1 -> 1.5.0
hyper (source) dev-dependencies minor 1.4.1 -> 1.5.0
once_cell dependencies minor 1.19.0 -> 1.20.2
tower dependencies minor 0.4.13 -> 0.5.0
tower build-dependencies minor 0.4.13 -> 0.5.0
tower-http dependencies minor 0.5.2 -> 0.6.0

Release Notes

hyperium/hyper (hyper) ### [`v1.5.0`](https://redirect.github.com/hyperium/hyper/blob/HEAD/CHANGELOG.md#v150-2024-10-15) [Compare Source](https://redirect.github.com/hyperium/hyper/compare/v1.4.1...v1.5.0) ##### Bug Fixes - **http1:** - improve performance of parsing sequentially partial messages ([#​3764](https://redirect.github.com/hyperium/hyper/issues/3764)) ([3900a23](https://redirect.github.com/hyperium/hyper/commit/3900a2381b96a7e7f608a5e031b3e90ddcdfcd74)) - send 'connection: close' when connection is ending ([#​3725](https://redirect.github.com/hyperium/hyper/issues/3725)) ([c86a6bcb](https://redirect.github.com/hyperium/hyper/commit/c86a6bcb4acb0f92e731ea2e4c1e4a839248a600), closes [#​3720](https://redirect.github.com/hyperium/hyper/issues/3720)) - make `date_header` effective ([#​3718](https://redirect.github.com/hyperium/hyper/issues/3718)) ([7de02373](https://redirect.github.com/hyperium/hyper/commit/7de02373f5e4ce392587a4d9d7710c6faf9c6165)) - **http2:** strip content-length header in response to CONNECT requests ([#​3748](https://redirect.github.com/hyperium/hyper/issues/3748)) ([67a4a498](https://redirect.github.com/hyperium/hyper/commit/67a4a498d8bbdce4e604bc578da4693fb048f83d)) ##### Features - **client:** Add HTTP/2 builder options `header_table_size()` and `max_concurrent_streams()` ([4c84e8c1](https://redirect.github.com/hyperium/hyper/commit/4c84e8c1c26a1464221de96b9f39816ce7251a5f)) - **rt:** add `ReadBufCursor` methods `remaining()` and `put_slice()` ([#​3700](https://redirect.github.com/hyperium/hyper/issues/3700)) ([5a13041e](https://redirect.github.com/hyperium/hyper/commit/5a13041ed7033c9dab6e2adafd08b6af20cd33fb)) ##### v1.4.1 (2024-07-09) ##### Bug Fixes - **http1:** reject final chunked if missing 0 ([8e5de1bb](https://redirect.github.com/hyperium/hyper/commit/8e5de1bb57e10b5bd9e70ab22489da787517238a))
matklad/once_cell (once_cell) ### [`v1.20.2`](https://redirect.github.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1202) [Compare Source](https://redirect.github.com/matklad/once_cell/compare/v1.20.1...v1.20.2) - Remove `portable_atomic` from Cargo.lock if it is not, in fact, used: [#​267](https://redirect.github.com/matklad/once_cell/pull/267) This is a work-around for this cargo b[https://github.com/rust-lang/cargo/issues/10801](https://redirect.github.com/rust-lang/cargo/issues/10801)0801. ### [`v1.20.1`](https://redirect.github.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1201) [Compare Source](https://redirect.github.com/matklad/once_cell/compare/v1.20.0...v1.20.1) - Allow using `race` module using just `portable_atomic`, without `critical_section` and provide better error messages on targets without atomic CAS instruction, [#​265](https://redirect.github.com/matklad/once_cell/pull/265). ### [`v1.20.0`](https://redirect.github.com/matklad/once_cell/compare/v1.19.0...v1.20.0) [Compare Source](https://redirect.github.com/matklad/once_cell/compare/v1.19.0...v1.20.0)
tower-rs/tower (tower) ### [`v0.5.1`](https://redirect.github.com/tower-rs/tower/releases/tag/tower-0.5.1): tower 0.5.1 [Compare Source](https://redirect.github.com/tower-rs/tower/compare/tower-0.5.0...tower-0.5.1) - Fix minimum version of `tower-layer` dependency ([#​787]) [#​787]: https://redirect.github.com/tower-rs/tower/pull/787 ### [`v0.5.0`](https://redirect.github.com/tower-rs/tower/releases/tag/tower-0.5.0): tower 0.5.0 [Compare Source](https://redirect.github.com/tower-rs/tower/compare/tower-0.4.13...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]) [#​702]: https://redirect.github.com/tower-rs/tower/pull/702 [#​652]: https://redirect.github.com/tower-rs/tower/pull/652 [#​584]: https://redirect.github.com/tower-rs/tower/pull/584 [#​681]: https://redirect.github.com/tower-rs/tower/pull/681 [#​685]: https://redirect.github.com/tower-rs/tower/pull/685 [#​703]: https://redirect.github.com/tower-rs/tower/pull/703 [#​755]: https://redirect.github.com/tower-rs/tower/pull/755 [#​700]: https://redirect.github.com/tower-rs/tower/pull/700 [#​701]: https://redirect.github.com/tower-rs/tower/pull/701 [#​708]: https://redirect.github.com/tower-rs/tower/pull/708 [#​716]: https://redirect.github.com/tower-rs/tower/pull/716 [#​731]: https://redirect.github.com/tower-rs/tower/pull/731 [#​741]: https://redirect.github.com/tower-rs/tower/pull/741
tower-rs/tower-http (tower-http) ### [`v0.6.1`](https://redirect.github.com/tower-rs/tower-http/releases/tag/tower-http-0.6.1): v0.6.1 [Compare Source](https://redirect.github.com/tower-rs/tower-http/compare/tower-http-0.6.0...tower-http-0.6.1) #### Fixed - **decompression:** reuse scratch buffer to significantly reduce allocations and improve performance ([#​521]) [#​521]: https://redirect.github.com/tower-rs/tower-http/pull/521 #### New Contributors - [@​magurotuna](https://redirect.github.com/magurotuna) made their first contribution in [https://github.com/tower-rs/tower-http/pull/521](https://redirect.github.com/tower-rs/tower-http/pull/521) ### [`v0.6.0`](https://redirect.github.com/tower-rs/tower-http/releases/tag/tower-http-0.6.0): v0.6.0 [Compare Source](https://redirect.github.com/tower-rs/tower-http/compare/tower-http-0.5.2...tower-http-0.6.0) #### Changed: - `body` module is disabled except for `catch-panic`, `decompression-*`, `fs`, or `limit` features (BREAKING) ([#​477]) - Update to `tower` 0.5 ([#​503]) #### Fixed - **fs:** Precompression of static files now supports files without a file extension ([#​507]) [#​477]: https://redirect.github.com/tower-rs/tower-http/pull/477 [#​503]: https://redirect.github.com/tower-rs/tower-http/pull/503 [#​507]: https://redirect.github.com/tower-rs/tower-http/pull/507

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path examples/tower_client/Cargo.toml --package tower-http@0.5.2 --precise 0.6.1
error: package ID specification `tower-http@0.5.2` did not match any packages
Did you mean one of these?

  tower-http@0.6.0
Emilgardis commented 1 month ago

ugh

Nerixyz commented 1 month ago

From the open cargo issues on renovate, this seems like it's https://redirect.github.com/renovatebot/renovate/issues/23971.

Emilgardis commented 1 month ago

could we use commands to circumvent the lack of cargoUpdate or cargoFetch and tasks only being supported on self-hosted instances

Nerixyz commented 1 month ago

could we use commands to circumvent the lack of cargoUpdate or cargoFetch and tasks only being supported on self-hosted instances

I don't think so. Renovate fails before - when updating a dependency. In this case, we depend on tower 0.5.0, but axum depends on tower 0.4.3. Axum has updated their tower to the latest 0.x since, but renovate doesn't pick that up, since that update is a patch update (0.7.5 -> 0.7.7). Maybe there's another issue when multiple Cargo.tomls are involved(?).

Nerixyz commented 1 month ago

I'm inclined to disable updates for Cargo again.

Emilgardis commented 1 month ago

yep, I say lets do it :3