FHICT-S-Koen / Spaced

0 stars 0 forks source link

chore(deps): update cargo dependencies #62

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
axum workspace.dependencies minor 0.6 -> 0.7
socketioxide dependencies minor 0.7 -> 0.10
tower-http workspace.dependencies minor 0.4 -> 0.5

Release Notes

tokio-rs/axum (axum) ### [`v0.7.3`](https://togithub.com/tokio-rs/axum/releases/tag/axum-v0.7.3): axum - v0.7.3 [Compare Source](https://togithub.com/tokio-rs/axum/compare/axum-v0.7.2...axum-v0.7.3) - **added:** `Body` implements `From<()>` now ([#​2411]) - **change:** Update version of multer used internally for multipart ([#​2433]) - **change:** Update tokio-tungstenite to 0.21 ([#​2435]) - **added:** Enable `tracing` feature by default ([#​2460]) - **added:** Support graceful shutdown on `serve` ([#​2398]) - **added:** `RouterIntoService` implements `Clone` ([#​2456]) [#​2411]: https://togithub.com/tokio-rs/axum/pull/2411 [#​2433]: https://togithub.com/tokio-rs/axum/pull/2433 [#​2435]: https://togithub.com/tokio-rs/axum/pull/2435 [#​2460]: https://togithub.com/tokio-rs/axum/pull/2460 [#​2398]: https://togithub.com/tokio-rs/axum/pull/2398 [#​2456]: https://togithub.com/tokio-rs/axum/pull/2456 ### [`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
totodore/socketioxide (socketioxide) ### [`v0.10.0`](https://togithub.com/totodore/socketioxide/blob/HEAD/CHANGELOG.md#0100) [Compare Source](https://togithub.com/totodore/socketioxide/compare/v0.9.1...v0.10.0) #### socketioxide - Rework for `emit_with_ack` fns. It now returns an `AckStream` that can be used either as a future when expecting one ack or as a stream when expecting multiple acks. When expecting multiple acks the `AckStream` will yield `AckResult`s as well as their corresponding socket `id`. ### [`v0.9.1`](https://togithub.com/totodore/socketioxide/blob/HEAD/CHANGELOG.md#091) [Compare Source](https://togithub.com/totodore/socketioxide/compare/v0.9.0...v0.9.1) #### socketioxide - Add `SocketIo::get_socket` and `Operators::get_socket` methods to get a socket ref from its id. - Switch to `pin-project-lite` instead of `pin-project`. ### [`v0.9.0`](https://togithub.com/totodore/socketioxide/blob/HEAD/CHANGELOG.md#090) [Compare Source](https://togithub.com/totodore/socketioxide/compare/v0.8.0...v0.9.0) - Bump `hyper` to 1.0.1. Therefore it is now possible to use frameworks based on hyper v1.\*. Check the [compatibility table](./README.md#compatibility) for more details. ### [`v0.8.0`](https://togithub.com/totodore/socketioxide/blob/HEAD/CHANGELOG.md#080) [Compare Source](https://togithub.com/totodore/socketioxide/compare/v0.7.3...v0.8.0) #### socketioxide - Add `transport_type` and `protocol` fn on the `Socket` struct. It allows to know the transport type and the protocol used by the socket. - Dynamic `DisconnectHandler`. Now the `on_disconnect` handler take a dynamic handler that maybe async and contain any type that implements `FromDisconnectParts`. It allows to extract data from the disconnection, like the socket, the reason of the disconnection, the state etc. - New `state` feature flag. It enables global state management. It is useful to share data between handlers. It is disabled by default. #### engineioxide - Packet encoding/decoding optimizations. ### [`v0.7.3`](https://togithub.com/totodore/socketioxide/blob/HEAD/CHANGELOG.md#073) [Compare Source](https://togithub.com/totodore/socketioxide/compare/v0.7.2...v0.7.3) #### socketioxide - Fix [#​189](https://togithub.com/Totodore/socketioxide/issues/189). Async message handlers were never called because the returned future was not spawned with `tokio::spawn`.
tower-rs/tower-http (tower-http) ### [`v0.5.0`](https://togithub.com/tower-rs/tower-http/releases/tag/tower-http-0.5.0): v0.5.0 [Compare Source](https://togithub.com/tower-rs/tower-http/compare/tower-http-0.4.4...tower-http-0.5.0) #### Changed - Bump Minimum Supported Rust Version to 1.66 ([#​433]) - Update to http-body 1.0 ([#​348]) - Update to http 1.0 ([#​348]) - Preserve service error type in RequestDecompression ([#​368]) #### Fixed - Accepts range headers with ranges where the end of range goes past the end of the document by bumping http-range-header to `0.4` [#​418]: https://togithub.com/tower-rs/tower-http/pull/418 [#​433]: https://togithub.com/tower-rs/tower-http/pull/433 [#​348]: https://togithub.com/tower-rs/tower-http/pull/348 [#​368]: https://togithub.com/tower-rs/tower-http/pull/368

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), 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.

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



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

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

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package axum@0.6.20 --precise 0.7.3
    Updating crates.io index
error: failed to select a version for the requirement `axum = "^0.6.9"`
candidate versions found which didn't match: 0.7.3
location searched: crates.io index
required by package `tonic v0.10.2`
    ... which satisfies dependency `tonic = "^0.10"` (locked to 0.10.2) of package `spaced v0.0.0 (/tmp/renovate/repos/github/FHICT-S-Koen/Spaced/srcs/tauri)`
perhaps a crate was updated and forgotten to be re-vendored?
sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud