BurntNail / vent

Website for managing House Events
https://blog.maguire.tech/posts/projects/vent/
MIT License
4 stars 1 forks source link

fix(deps): update rust crate axum to 0.7 #199

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
axum dependencies minor 0.6 -> 0.7

Release Notes

tokio-rs/axum (axum) ### [`v0.7.2`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.7.2): axum - v0.7.2 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.7.1...axum-v0.7.2) - **added:** Add `axum::body::to_bytes` ([#​2373]) - **fixed:** Gracefully handle accept errors in `serve` ([#​2400]) [#​2373]: https://togithub.com/tokio-rs/axum/pull/2373 [#​2400]: https://togithub.com/tokio-rs/axum/pull/2400 ### [`v0.7.1`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.7.1): axum - v0.7.1 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.7.0...axum-v0.7.1) - **fix**: Fix readme. ### [`v0.7.0`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.7.0): axum - v0.7.0 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.20...axum-v0.7.0) - **breaking:** Update public dependencies. axum now requires - [hyper](https://crates.io/crates/hyper) 1.0 - [http](https://crates.io/crates/http) 1.0 - [http-body](https://crates.io/crates/http-body) 1.0 - **breaking:** axum now requires [tower-http](https://crates.io/crates/tower-http) 0.5 - **breaking:** Remove deprecated `WebSocketUpgrade::max_send_queue` - **breaking:** The following types/traits are no longer generic over the request body (i.e. the `B` type param has been removed) ([#​1751] and [#​1789]): - `FromRequestParts` - `FromRequest` - `HandlerService` - `HandlerWithoutStateExt` - `Handler` - `LayeredFuture` - `Layered` - `MethodRouter` - `Next` - `RequestExt` - `RouteFuture` - `Route` - `Router` - **breaking:** axum no longer re-exports `hyper::Body` as that type is removed in hyper 1.0. Instead axum has its own body type at `axum::body::Body` ([#​1751]) - **breaking:** `extract::BodyStream` has been removed as `body::Body` implements `Stream` and `FromRequest` directly ([#​1751]) - **breaking:** Change `sse::Event::json_data` to use `axum_core::Error` as its error type ([#​1762]) - **breaking:** Rename `DefaultOnFailedUpdgrade` to `DefaultOnFailedUpgrade` ([#​1664]) - **breaking:** Rename `OnFailedUpdgrade` to `OnFailedUpgrade` ([#​1664]) - **breaking:** `TypedHeader` has been move to `axum-extra` ([#​1850]) - **breaking:** Removed re-exports of `Empty` and `Full`. Use `axum::body::Body::empty` and `axum::body::Body::from` respectively ([#​1789]) - **breaking:** The response returned by `IntoResponse::into_response` must use `axum::body::Body` as the body type. `axum::response::Response` does this ([#​1789]) - **breaking:** Removed the `BoxBody` type alias and its `box_body` constructor. Use `axum::body::Body::new` instead ([#​1789]) - **breaking:** Remove `RawBody` extractor. `axum::body::Body` implements `FromRequest` directly ([#​1789]) - **breaking:** The following types from `http-body` no longer implement `IntoResponse`: - `Full`, use `Body::from` instead - `Empty`, use `Body::empty` instead - `BoxBody`, use `Body::new` instead - `UnsyncBoxBody`, use `Body::new` instead - `MapData`, use `Body::new` instead - `MapErr`, use `Body::new` instead - **added:** Add `axum::extract::Request` type alias where the body is `axum::body::Body` ([#​1789]) - **added:** Add `Router::as_service` and `Router::into_service` to workaround type inference issues when calling `ServiceExt` methods on a `Router` ([#​1835]) - **breaking:** Removed `axum::Server` as it was removed in hyper 1.0. Instead use `axum::serve(listener, service)` or hyper/hyper-util for more configuration options ([#​1868]) - **breaking:** Only inherit fallbacks for routers nested with `Router::nest`. Routers nested with `Router::nest_service` will no longer inherit fallbacks ([#​1956]) - **fixed:** Don't remove the `Sec-WebSocket-Key` header in `WebSocketUpgrade` ([#​1972]) - **added:** Add `axum::extract::Query::try_from_uri` ([#​2058]) - **added:** Implement `IntoResponse` for `Box` and `Box<[u8]>` (\[[#​2035](https://togithub.com/tokio-rs/axum/issues/2035)]) - **breaking:** Simplify `MethodFilter`. It no longer uses bitflags ([#​2073]) - **fixed:** Fix bugs around merging routers with nested fallbacks ([#​2096]) - **fixed:** Fix `.source()` of composite rejections ([#​2030]) - **fixed:** Allow unreachable code in `#[debug_handler]` ([#​2014]) - **change:** axum's MSRV is now 1.66 ([#​1882]) - **added:** Implement `IntoResponse` for `(R,) where R: IntoResponse` ([#​2143]) - **changed:** For SSE, add space between field and value for compatibility ([#​2149]) - **added:** Add `NestedPath` extractor ([#​1924]) - **added:** Add `handle_error` function to existing `ServiceExt` trait ([#​2235]) - **breaking:** `impl IntoResponse(Parts) for Extension` now requires `T: Clone`, as that is required by the http crate ([#​1882]) - **added:** Add `axum::Json::from_bytes` ([#​2244]) - **added:** Implement `FromRequestParts` for `http::request::Parts` ([#​2328]) - **added:** Implement `FromRequestParts` for `http::Extensions` ([#​2328]) - **fixed:** Clearly document applying `DefaultBodyLimit` to individual routes ([#​2157]) [#​1664]: https://togithub.com/tokio-rs/axum/pull/1664 [#​1751]: https://togithub.com/tokio-rs/axum/pull/1751 [#​1762]: https://togithub.com/tokio-rs/axum/pull/1762 [#​1789]: https://togithub.com/tokio-rs/axum/pull/1789 [#​1835]: https://togithub.com/tokio-rs/axum/pull/1835 [#​1850]: https://togithub.com/tokio-rs/axum/pull/1850 [#​1868]: https://togithub.com/tokio-rs/axum/pull/1868 [#​1882]: https://togithub.com/tokio-rs/axum/pull/1882 [#​1924]: https://togithub.com/tokio-rs/axum/pull/1924 [#​1956]: https://togithub.com/tokio-rs/axum/pull/1956 [#​1972]: https://togithub.com/tokio-rs/axum/pull/1972 [#​2014]: https://togithub.com/tokio-rs/axum/pull/2014 [#​2021]: https://togithub.com/tokio-rs/axum/pull/2021 [#​2030]: https://togithub.com/tokio-rs/axum/pull/2030 [#​2058]: https://togithub.com/tokio-rs/axum/pull/2058 [#​2073]: https://togithub.com/tokio-rs/axum/pull/2073 [#​2096]: https://togithub.com/tokio-rs/axum/pull/2096 [#​2140]: https://togithub.com/tokio-rs/axum/pull/2140 [#​2143]: https://togithub.com/tokio-rs/axum/pull/2143 [#​2149]: https://togithub.com/tokio-rs/axum/pull/2149 [#​2157]: https://togithub.com/tokio-rs/axum/pull/2157 [#​2235]: https://togithub.com/tokio-rs/axum/pull/2235 [#​2244]: https://togithub.com/tokio-rs/axum/pull/2244 [#​2328]: https://togithub.com/tokio-rs/axum/pull/2328 ### [`v0.6.20`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.20): axum - v0.6.20 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.19...axum-v0.6.20) - **added:** `WebSocketUpgrade::write_buffer_size` and `WebSocketUpgrade::max_write_buffer_size` - **changed:** Deprecate `WebSocketUpgrade::max_send_queue` - **change:** Update tokio-tungstenite to 0.20 - **added:** Implement `Handler` for `T: IntoResponse` ([#​2140]) [#​2140]: https://togithub.com/tokio-rs/axum/pull/2140 ### [`v0.6.19`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.19): axum - v0.6.19 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.18...axum-v0.6.19) - **added:** Add `axum::extract::Query::try_from_uri` ([#​2058]) - **added:** Implement `IntoResponse` for `Box` and `Box<[u8]>` ([#​2035]) - **fixed:** Fix bugs around merging routers with nested fallbacks ([#​2096]) - **fixed:** Fix `.source()` of composite rejections ([#​2030]) - **fixed:** Allow unreachable code in `#[debug_handler]` ([#​2014]) - **change:** Update tokio-tungstenite to 0.19 ([#​2021]) - **change:** axum's MSRV is now 1.63 ([#​2021]) [#​2014]: https://togithub.com/tokio-rs/axum/pull/2014 [#​2021]: https://togithub.com/tokio-rs/axum/pull/2021 [#​2030]: https://togithub.com/tokio-rs/axum/pull/2030 [#​2035]: https://togithub.com/tokio-rs/axum/pull/2035 [#​2058]: https://togithub.com/tokio-rs/axum/pull/2058 [#​2096]: https://togithub.com/tokio-rs/axum/pull/2096 ### [`v0.6.18`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.18): axum - v0.6.18 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.17...axum-v0.6.18) - **fixed:** Don't remove the `Sec-WebSocket-Key` header in `WebSocketUpgrade` ([#​1972]) [#​1972]: https://togithub.com/tokio-rs/axum/pull/1972 ### [`v0.6.17`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.17): axum - v0.6.17 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.16...axum-v0.6.17) - **fixed:** Fix fallbacks causing a panic on `CONNECT` requests ([#​1958]) [#​1958]: https://togithub.com/tokio-rs/axum/pull/1958 ### [`v0.6.16`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.16): axum - v0.6.16 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.15...axum-v0.6.16) - **fixed:** Don't allow extracting `MatchedPath` in fallbacks ([#​1934]) - **fixed:** Fix panic if `Router` with something nested at `/` was used as a fallback ([#​1934]) - **added:** Document that `Router::new().fallback(...)` isn't optimal ([#​1940]) [#​1934]: https://togithub.com/tokio-rs/axum/pull/1934 [#​1940]: https://togithub.com/tokio-rs/axum/pull/1940 ### [`v0.6.15`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.15): axum - v0.6.15 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.14...axum-v0.6.15) - **fixed:** Removed additional leftover debug messages ([#​1927]) [#​1927]: https://togithub.com/tokio-rs/axum/pull/1927 ### [`v0.6.14`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.14): axum - v0.6.14 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.13...axum-v0.6.14) - **fixed:** Removed leftover "path_router hit" debug message ([#​1925]) [#​1925]: https://togithub.com/tokio-rs/axum/pull/1925 ### [`v0.6.13`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.13): axum - v0.6.13 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.12...axum-v0.6.13) - **added:** Log rejections from built-in extractors with the `axum::rejection=trace` target ([#​1890]) - **fixed:** Fixed performance regression with `Router::nest` introduced in 0.6.0. `nest` now flattens the routes which performs better ([#​1711]) - **fixed:** Extracting `MatchedPath` in nested handlers now gives the full matched path, including the nested path ([#​1711]) - **added:** Implement `Deref` and `DerefMut` for built-in extractors ([#​1922]) [#​1711]: https://togithub.com/tokio-rs/axum/pull/1711 [#​1890]: https://togithub.com/tokio-rs/axum/pull/1890 [#​1922]: https://togithub.com/tokio-rs/axum/pull/1922 ### [`v0.6.12`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.12): axum - v0.6.12 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.11...axum-v0.6.12) - **added:** Implement `IntoResponse` for `MultipartError` ([#​1861]) - **fixed:** More clearly document what wildcards matches ([#​1873]) [#​1861]: https://togithub.com/tokio-rs/axum/pull/1861 [#​1873]: https://togithub.com/tokio-rs/axum/pull/1873 ### [`v0.6.11`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.11): axum - v0.6.11 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.10...axum-v0.6.11) - **fixed:** Don't require `S: Debug` for `impl Debug for Router` ([#​1836]) - **fixed:** Clone state a bit less when handling requests ([#​1837]) - **fixed:** Unpin itoa dependency ([#​1815]) [#​1815]: https://togithub.com/tokio-rs/axum/pull/1815 [#​1836]: https://togithub.com/tokio-rs/axum/pull/1836 [#​1837]: https://togithub.com/tokio-rs/axum/pull/1837 ### [`v0.6.10`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.10): axum - v0.6.10 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.9...axum-v0.6.10) - **fixed:** Add `#[must_use]` attributes to types that do nothing unless used ([#​1809]) - **fixed:** Gracefully handle missing headers in the `TypedHeader` extractor ([#​1810]) - **fixed:** Fix routing issues when loading a `Router` via a dynamic library ([#​1806]) [#​1806]: https://togithub.com/tokio-rs/axum/pull/1806 [#​1809]: https://togithub.com/tokio-rs/axum/pull/1809 [#​1810]: https://togithub.com/tokio-rs/axum/pull/1810 ### [`v0.6.9`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.9): axum - v0.6.9 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.8...axum-v0.6.9) - **changed:** Update to tower-http 0.4. axum is still compatible with tower-http 0.3 ([#​1783]) [#​1783]: https://togithub.com/tokio-rs/axum/pull/1783 ### [`v0.6.8`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.8): axum - v0.6.8 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.7...axum-v0.6.8) - **fixed:** Fix `Allow` missing from routers with middleware ([#​1773]) - **added:** Add `KeepAlive::event` for customizing the event sent for SSE keep alive ([#​1729]) [#​1729]: https://togithub.com/tokio-rs/axum/pull/1729 [#​1773]: https://togithub.com/tokio-rs/axum/pull/1773 ### [`v0.6.7`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.7): axum - v0.6.7 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.6...axum-v0.6.7) - **added:** Add `FormRejection::FailedToDeserializeFormBody` which is returned if the request body couldn't be deserialized into the target type, as opposed to `FailedToDeserializeForm` which is only for query parameters ([#​1683]) - **added:** Add `MockConnectInfo` for setting `ConnectInfo` during tests ([#​1767]) [#​1683]: https://togithub.com/tokio-rs/axum/pull/1683 [#​1767]: https://togithub.com/tokio-rs/axum/pull/1767 ### [`v0.6.6`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.6): axum - v0.6.6 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.5...axum-v0.6.6) - **fixed:** Enable passing `MethodRouter` to `Router::fallback` ([#​1730]) [#​1730]: https://togithub.com/tokio-rs/axum/pull/1730 ### [`v0.6.5`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.5): axum - v0.6.5 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.4...axum-v0.6.5) - **fixed:** Fix `#[debug_handler]` sometimes giving wrong borrow related suggestions ([#​1710]) - Document gotchas related to using `impl IntoResponse` as the return type from handler functions ([#​1736]) [#​1710]: https://togithub.com/tokio-rs/axum/pull/1710 [#​1736]: https://togithub.com/tokio-rs/axum/pull/1736 ### [`v0.6.4`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.4): axum - v0.6.4 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.3...axum-v0.6.4) - Depend on axum-macros 0.3.2 ### [`v0.6.3`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.3): axum - v0.6.3 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.2...axum-v0.6.3) - **added:** Implement `IntoResponse` for `&'static [u8; N]` and `[u8; N]` ([#​1690]) - **fixed:** Make `Path` support types using `serde::Deserializer::deserialize_any` ([#​1693]) - **added:** Add `RawPathParams` ([#​1713]) - **added:** Implement `Clone` and `Service` for `axum::middleware::Next` ([#​1712]) - **fixed:** Document required tokio features to run "Hello, World!" example ([#​1715]) [#​1690]: https://togithub.com/tokio-rs/axum/pull/1690 [#​1693]: https://togithub.com/tokio-rs/axum/pull/1693 [#​1712]: https://togithub.com/tokio-rs/axum/pull/1712 [#​1713]: https://togithub.com/tokio-rs/axum/pull/1713 [#​1715]: https://togithub.com/tokio-rs/axum/pull/1715 ### [`v0.6.2`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.2): axum - v0.6.2 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.1...axum-v0.6.2) - **added:** Add `body_text` and `status` methods to built-in rejections ([#​1612]) - **added:** Enable the `runtime` feature of `hyper` when using `tokio` ([#​1671]) [#​1612]: https://togithub.com/tokio-rs/axum/pull/1612 [#​1671]: https://togithub.com/tokio-rs/axum/pull/1671 ### [`v0.6.1`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.6.1): axum - v0.6.1 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.6.0...axum-v0.6.1) - **added:** Expand the docs for `Router::with_state` ([#​1580]) [#​1580]: https://togithub.com/tokio-rs/axum/pull/1580

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 9 months 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/f7d993/c62608/repos/github/BurntNail/vent":"/tmp/worker/f7d993/c62608/repos/github/BurntNail/vent" -v "/tmp/worker/f7d993/c62608/cache":"/tmp/worker/f7d993/c62608/cache" -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/f7d993/c62608/repos/github/BurntNail/vent" ghcr.io/containerbase/sidecar:9.24.0 bash -l -c "install-tool rust 1.74.0 && cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace"
    Updating crates.io index
error: failed to select a version for `axum`.
    ... required by package `vent v0.1.0 (/tmp/worker/f7d993/c62608/repos/github/BurntNail/vent)`
versions that meet the requirements `^0.7` are: 0.7.1, 0.7.0

the package `vent` depends on `axum`, with features: `headers` but `axum` does not have these features.

failed to select a version for `axum` which could resolve this conflict
renovate[bot] commented 9 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.7). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.