Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update rust crates (oxc-project#6961)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [encoding_rs](https://docs.rs/encoding_rs/) ([source](https://redirect.github.com/hsivonen/encoding_rs)) | workspace.dependencies | patch | `0.8.34` -> `0.8.35` | | [handlebars](https://redirect.github.com/sunng87/handlebars-rust) | workspace.dependencies | minor | `6.1.0` -> `6.2.0` | | [insta](https://insta.rs/) ([source](https://redirect.github.com/mitsuhiko/insta)) | workspace.dependencies | minor | `1.40.0` -> `1.41.0` | | [prettyplease](https://redirect.github.com/dtolnay/prettyplease) | workspace.dependencies | patch | `0.2.24` -> `0.2.25` | | [regex](https://redirect.github.com/rust-lang/regex) | workspace.dependencies | patch | `1.11.0` -> `1.11.1` | | [saphyr](https://redirect.github.com/saphyr-rs/saphyr) | workspace.dependencies | patch | `0.0.1` -> `0.0.3` | | [serde](https://serde.rs) ([source](https://redirect.github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.210` -> `1.0.213` | | [tokio](https://tokio.rs) ([source](https://redirect.github.com/tokio-rs/tokio)) | workspace.dependencies | minor | `1.40.0` -> `1.41.0` | --- ### Release Notes <details> <summary>hsivonen/encoding_rs (encoding_rs)</summary> ### [`v0.8.35`](https://redirect.github.com/hsivonen/encoding_rs/compare/v0.8.34...v0.8.35) [Compare Source](https://redirect.github.com/hsivonen/encoding_rs/compare/v0.8.34...v0.8.35) </details> <details> <summary>sunng87/handlebars-rust (handlebars)</summary> ### [`v6.2.0`](https://redirect.github.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#620---2024-10-26) [Compare Source](https://redirect.github.com/sunng87/handlebars-rust/compare/v6.1.0...v6.2.0) - \[Added] `@index` variable for object iteration \[[#&oxc-project#8203;682](https://redirect.github.com/sunng87/handlebars-rust/issues/682)] - \[Changed] improve number comparison between different types \[[#&oxc-project#8203;679](https://redirect.github.com/sunng87/handlebars-rust/issues/679)] </details> <details> <summary>mitsuhiko/insta (insta)</summary> ### [`v1.41.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1410) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.40.0...1.41.0) - Experimental support for binary snapshots. [#&oxc-project#8203;610](https://redirect.github.com/mitsuhiko/insta/issues/610) (Florian Plattner) - `--force-update-snapshots` now causes `cargo-insta` to write every snapshot, regardless of whether snapshots fully match, and now implies `--accept`. This allows for `--force-update-snapshots` to update inline snapshots' delimiters and indentation. For the previous behavior of `--force-update-snapshots`, which limited writes to snapshots which didn't fully match, use `--require-full-match`. The main difference between `--require-full-match` and the existing behavior of `--force-update-snapshots` is a non-zero exit code on any snapshots which don't fully match. Like the previous behavior or `--force-update-snapshots`, `--require-full-match` doesn't track inline snapshots' delimiters or indentation, so can't update if those don't match. [#&oxc-project#8203;644](https://redirect.github.com/mitsuhiko/insta/issues/644) - Inline snapshots only use `#` characters as delimiters when required. [#&oxc-project#8203;603](https://redirect.github.com/mitsuhiko/insta/issues/603) - Warnings for undiscovered snapshots are more robust, and include files with custom snapshot extensions. [#&oxc-project#8203;637](https://redirect.github.com/mitsuhiko/insta/issues/637) - Insta runs correctly on packages which reference rust files in a parent path. [#&oxc-project#8203;626](https://redirect.github.com/mitsuhiko/insta/issues/626) - Warnings are printed when any snapshot uses a legacy format. [#&oxc-project#8203;599](https://redirect.github.com/mitsuhiko/insta/issues/599) - `cargo insta --version` now prints a version. [#&oxc-project#8203;665](https://redirect.github.com/mitsuhiko/insta/issues/665) - `insta` now internally uses `INSTA_UPDATE=force` rather than `INSTA_FORCE_UPDATE=1`. (This doesn't affect users of `cargo-insta`, which handles this internally.) [#&oxc-project#8203;482](https://redirect.github.com/mitsuhiko/insta/issues/482) - `cargo-insta`'s integration tests continue to grow over the past couple of versions, and now offer coverage of most of `cargo-insta`'s interface. </details> <details> <summary>dtolnay/prettyplease (prettyplease)</summary> ### [`v0.2.25`](https://redirect.github.com/dtolnay/prettyplease/releases/tag/0.2.25) [Compare Source](https://redirect.github.com/dtolnay/prettyplease/compare/0.2.24...0.2.25) - Print safe and explicitly unsafe foreign items ([#&oxc-project#8203;85](https://redirect.github.com/dtolnay/prettyplease/issues/85), [https://github.com/rust-lang/rust/issues/123743](https://redirect.github.com/rust-lang/rust/issues/123743)) </details> <details> <summary>rust-lang/regex (regex)</summary> ### [`v1.11.1`](https://redirect.github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1111-2024-10-24) [Compare Source](https://redirect.github.com/rust-lang/regex/compare/1.11.0...1.11.1) \=================== This is a new patch release of `regex` that fixes compilation on nightly Rust when the unstable `pattern` crate feature is enabled. Users on nightly Rust without this feature enabled are unaffected. Bug fixes: - [BUG #&oxc-project#8203;1231](https://redirect.github.com/rust-lang/regex/issues/1231): Fix the `Pattern` trait implementation as a result of nightly API breakage. </details> <details> <summary>saphyr-rs/saphyr (saphyr)</summary> ### [`v0.0.3`](https://redirect.github.com/saphyr-rs/saphyr/compare/v0.0.1...v0.0.3) [Compare Source](https://redirect.github.com/saphyr-rs/saphyr/compare/v0.0.1...v0.0.3) </details> <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.213`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.213) [Compare Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.212...v1.0.213) - Fix support for macro-generated `with` attributes inside a newtype struct ([#&oxc-project#8203;2847](https://redirect.github.com/serde-rs/serde/issues/2847)) ### [`v1.0.212`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.212) [Compare Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.211...v1.0.212) - Fix hygiene of macro-generated local variable accesses in serde(with) wrappers ([#&oxc-project#8203;2845](https://redirect.github.com/serde-rs/serde/issues/2845)) ### [`v1.0.211`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.211) [Compare Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.210...v1.0.211) - Improve error reporting about mismatched signature in `with` and `default` attributes ([#&oxc-project#8203;2558](https://redirect.github.com/serde-rs/serde/issues/2558), thanks [@&oxc-project#8203;Mingun](https://redirect.github.com/Mingun)) - Show variant aliases in error message when variant deserialization fails ([#&oxc-project#8203;2566](https://redirect.github.com/serde-rs/serde/issues/2566), thanks [@&oxc-project#8203;Mingun](https://redirect.github.com/Mingun)) - Improve binary size of untagged enum and internally tagged enum deserialization by about 12% ([#&oxc-project#8203;2821](https://redirect.github.com/serde-rs/serde/issues/2821)) </details> <details> <summary>tokio-rs/tokio (tokio)</summary> ### [`v1.41.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.41.0): Tokio v1.41.0 [Compare Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.0) ##### 1.41.0 (Oct 22th, 2024) ##### Added - metrics: stabilize `global_queue_depth` ([#&oxc-project#8203;6854], [#&oxc-project#8203;6918]) - net: add conversions for unix `SocketAddr` ([#&oxc-project#8203;6868]) - sync: add `watch::Sender::sender_count` ([#&oxc-project#8203;6836]) - sync: add `mpsc::Receiver::blocking_recv_many` ([#&oxc-project#8203;6867]) - task: stabilize `Id` apis ([#&oxc-project#8203;6793], [#&oxc-project#8203;6891]) ##### Added (unstable) - metrics: add H2 Histogram option to improve histogram granularity ([#&oxc-project#8203;6897]) - metrics: rename some histogram apis ([#&oxc-project#8203;6924]) - runtime: add `LocalRuntime` ([#&oxc-project#8203;6808]) ##### Changed - runtime: box futures larger than 16k on release mode ([#&oxc-project#8203;6826]) - sync: add `#[must_use]` to `Notified` ([#&oxc-project#8203;6828]) - sync: make `watch` cooperative ([#&oxc-project#8203;6846]) - sync: make `broadcast::Receiver` cooperative ([#&oxc-project#8203;6870]) - task: add task size to tracing instrumentation ([#&oxc-project#8203;6881]) - wasm: enable `cfg_fs` for `wasi` target ([#&oxc-project#8203;6822]) ##### Fixed - net: fix regression of abstract socket path in unix socket ([#&oxc-project#8203;6838]) ##### Documented - io: recommend `OwnedFd` with `AsyncFd` ([#&oxc-project#8203;6821]) - io: document cancel safety of `AsyncFd` methods ([#&oxc-project#8203;6890]) - macros: render more comprehensible documentation for `join` and `try_join` ([#&oxc-project#8203;6814], [#&oxc-project#8203;6841]) - net: fix swapped examples for `TcpSocket::set_nodelay` and `TcpSocket::nodelay` ([#&oxc-project#8203;6840]) - sync: document runtime compatibility ([#&oxc-project#8203;6833]) [#&oxc-project#8203;6793]: https://redirect.github.com/tokio-rs/tokio/pull/6793 [#&oxc-project#8203;6808]: https://redirect.github.com/tokio-rs/tokio/pull/6808 [#&oxc-project#8203;6810]: https://redirect.github.com/tokio-rs/tokio/pull/6810 [#&oxc-project#8203;6814]: https://redirect.github.com/tokio-rs/tokio/pull/6814 [#&oxc-project#8203;6821]: https://redirect.github.com/tokio-rs/tokio/pull/6821 [#&oxc-project#8203;6822]: https://redirect.github.com/tokio-rs/tokio/pull/6822 [#&oxc-project#8203;6826]: https://redirect.github.com/tokio-rs/tokio/pull/6826 [#&oxc-project#8203;6828]: https://redirect.github.com/tokio-rs/tokio/pull/6828 [#&oxc-project#8203;6833]: https://redirect.github.com/tokio-rs/tokio/pull/6833 [#&oxc-project#8203;6836]: https://redirect.github.com/tokio-rs/tokio/pull/6836 [#&oxc-project#8203;6838]: https://redirect.github.com/tokio-rs/tokio/pull/6838 [#&oxc-project#8203;6840]: https://redirect.github.com/tokio-rs/tokio/pull/6840 [#&oxc-project#8203;6841]: https://redirect.github.com/tokio-rs/tokio/pull/6841 [#&oxc-project#8203;6846]: https://redirect.github.com/tokio-rs/tokio/pull/6846 [#&oxc-project#8203;6854]: https://redirect.github.com/tokio-rs/tokio/pull/6854 [#&oxc-project#8203;6867]: https://redirect.github.com/tokio-rs/tokio/pull/6867 [#&oxc-project#8203;6868]: https://redirect.github.com/tokio-rs/tokio/pull/6868 [#&oxc-project#8203;6870]: https://redirect.github.com/tokio-rs/tokio/pull/6870 [#&oxc-project#8203;6881]: https://redirect.github.com/tokio-rs/tokio/pull/6881 [#&oxc-project#8203;6890]: https://redirect.github.com/tokio-rs/tokio/pull/6890 [#&oxc-project#8203;6891]: https://redirect.github.com/tokio-rs/tokio/pull/6891 [#&oxc-project#8203;6897]: https://redirect.github.com/tokio-rs/tokio/pull/6897 [#&oxc-project#8203;6918]: https://redirect.github.com/tokio-rs/tokio/pull/6918 [#&oxc-project#8203;6924]: https://redirect.github.com/tokio-rs/tokio/pull/6924 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
- Loading branch information