chore(deps): update rust crates#18805
Conversation
|
Merging this PR will not alter performance
Comparing Footnotes
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Merge activity
|
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bpaf](https://redirect.github.com/pacak/bpaf) | workspace.dependencies | patch | `0.9.20` → `0.9.22` | | [convert_case](https://redirect.github.com/rutrum/convert-case) | workspace.dependencies | minor | `0.10.0` → `0.11.0` | | [indexmap](https://redirect.github.com/indexmap-rs/indexmap) | workspace.dependencies | minor | `2.12.0` → `2.13.0` | | [insta](https://insta.rs/) ([source](https://redirect.github.com/mitsuhiko/insta)) | workspace.dependencies | minor | `1.43.2` → `1.46.2` | | [proc-macro2](https://redirect.github.com/dtolnay/proc-macro2) | workspace.dependencies | patch | `1.0.103` → `1.0.106` | | [quote](https://redirect.github.com/dtolnay/quote) | workspace.dependencies | patch | `1.0.42` → `1.0.44` | | [serde_json](https://redirect.github.com/serde-rs/json) | workspace.dependencies | patch | `1.0.145` → `1.0.149` | | [syn](https://redirect.github.com/dtolnay/syn) | workspace.dependencies | patch | `2.0.110` → `2.0.114` | --- ### Release Notes <details> <summary>pacak/bpaf (bpaf)</summary> ### [`v0.9.21`](https://redirect.github.com/pacak/bpaf/blob/HEAD/Changelog.md#bpaf-0921--bpafderive-0521---2026-01-15) [Compare Source](https://redirect.github.com/pacak/bpaf/compare/v0.9.20...v0.9.21) - Documentation fixes - minor derive macro improvements - MSRV is now 1.60 </details> <details> <summary>indexmap-rs/indexmap (indexmap)</summary> ### [`v2.13.0`](https://redirect.github.com/indexmap-rs/indexmap/blob/HEAD/RELEASES.md#2130-2026-01-07) [Compare Source](https://redirect.github.com/indexmap-rs/indexmap/compare/2.12.1...2.13.0) - Implemented `Clone` for `IntoKeys` and `IntoValues`. - Added `map::Slice::split_at_checked` and `split_at_mut_checked`. - Added `set::Slice::split_at_checked`. ### [`v2.12.1`](https://redirect.github.com/indexmap-rs/indexmap/blob/HEAD/RELEASES.md#2121-2025-11-20) [Compare Source](https://redirect.github.com/indexmap-rs/indexmap/compare/2.12.0...2.12.1) - Simplified a lot of internals using `hashbrown`'s new bucket API. </details> <details> <summary>mitsuhiko/insta (insta)</summary> ### [`v1.46.2`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1462) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.46.1...1.46.2) - Fix inline snapshot corruption with carriage returns. The `leading_space()` function incorrectly treated `\r` as indentation, causing carriage returns to be stripped from snapshot content. [#​866](https://redirect.github.com/mitsuhiko/insta/issues/866) - Remove `< 0.4.17` upper bound on globset dependency. [#​864](https://redirect.github.com/mitsuhiko/insta/issues/864) ### [`v1.46.1`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1461) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.46.0...1.46.1) - Fix inline snapshot corruption when multiple snapshots appear inside `with_settings!` macro. [#​858](https://redirect.github.com/mitsuhiko/insta/issues/858) ### [`v1.46.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1460) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.45.1...1.46.0) - Add `INSTA_PENDING_DIR` environment variable for Bazel and other hermetic build systems. When set, pending snapshots are written to a separate directory while keeping the source tree read-only. We are very open to feedback on this feature. [#​852](https://redirect.github.com/mitsuhiko/insta/issues/852) - Fix documentation for `test.runner_fallback` config key. [#​853](https://redirect.github.com/mitsuhiko/insta/issues/853) ### [`v1.45.1`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1451) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.45.0...1.45.1) - Fix backward compatibility with TOML format produced by insta < 1.45.0. [#​849](https://redirect.github.com/mitsuhiko/insta/issues/849) ([@​chitoku-k](https://redirect.github.com/chitoku-k)) ### [`v1.45.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1450) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.44.3...1.45.0) - Add external diff tool support via `INSTA_DIFF_TOOL` environment variable. When set, insta uses the specified tool (e.g., `delta`, `difftastic`) to display snapshot diffs instead of the built-in diff. The tool is invoked as `<tool> <old_file> <new_file>`. [#​844](https://redirect.github.com/mitsuhiko/insta/issues/844) - Add `test.disable_nextest_doctest` config option to `insta.yaml`, allowing users to silence the nextest doctest warning via config instead of passing `--dnd` every time. [#​842](https://redirect.github.com/mitsuhiko/insta/issues/842) - Skip non-insta snapshot files in unreferenced detection. Projects using both insta and other snapshot tools (like vitest or jest) can now use `--unreferenced=reject` without false positives on `.snap` files from other tools. [#​846](https://redirect.github.com/mitsuhiko/insta/issues/846) - Collect warnings from tests for display after run. Ensures deprecation warnings are visible even when nextest suppresses stdout/stderr from passing tests. [#​840](https://redirect.github.com/mitsuhiko/insta/issues/840) - Update TOML serialization to be up-to-date and backwards-compatible. [#​834](https://redirect.github.com/mitsuhiko/insta/issues/834) ([@​spoutn1k](https://redirect.github.com/spoutn1k)) - Support `clippy::needless_raw_strings` lint by only using raw strings when content contains backslashes or quotes. [#​828](https://redirect.github.com/mitsuhiko/insta/issues/828) ### [`v1.44.3`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1443) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.44.2...1.44.3) - Fix a regression in 1.44.2 where merge conflict detection was too aggressive, incorrectly flagging snapshot content containing `======` or similar patterns as conflicts. [#​832](https://redirect.github.com/mitsuhiko/insta/issues/832) - Fix a regression in 1.42.2 where inline snapshot updates would corrupt the file when code preceded the macro (e.g., `let output = assert_snapshot!(...)`). [#​833](https://redirect.github.com/mitsuhiko/insta/issues/833) ### [`v1.44.2`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1442) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.44.1...1.44.2) - Fix a rare backward compatibility issue where inline snapshots using an uncommon legacy format (single-line content stored in multiline raw strings) could fail to match after 1.44.0. [#​830](https://redirect.github.com/mitsuhiko/insta/issues/830) - Handle merge conflicts in snapshot files gracefully. When a snapshot file contains git merge conflict markers, insta now detects them and treats the snapshot as missing, allowing tests to continue and create a new pending snapshot for review. [#​829](https://redirect.github.com/mitsuhiko/insta/issues/829) - Skip nextest\_doctest tests when cargo-nextest is not installed. [#​826](https://redirect.github.com/mitsuhiko/insta/issues/826) - Fix functional tests failing under nextest due to inherited `NEXTEST_RUN_ID` environment variable. [#​824](https://redirect.github.com/mitsuhiko/insta/issues/824) ### [`v1.44.1`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1441) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.44.0...1.44.1) - Add `--dnd` alias for `--disable-nextest-doctest` flag to make it easier to silence the deprecation warning. [#​822](https://redirect.github.com/mitsuhiko/insta/issues/822) - Update cargo-dist to 0.30.2 and fix Windows runner to use windows-2022. [#​821](https://redirect.github.com/mitsuhiko/insta/issues/821) ### [`v1.44.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1440) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.43.2...1.44.0) - Added non-interactive snapshot review and reject modes for use in non-TTY environments (LLMs, CI pipelines, scripts). `cargo insta review --snapshot <path>` and `cargo insta reject --snapshot <path>` now work without a terminal. Enhanced `pending-snapshots` output with usage instructions and workspace-relative paths. [#​815](https://redirect.github.com/mitsuhiko/insta/issues/815) - Add `--disable-nextest-doctest` flag to `cargo insta test` to disable running doctests with nextest. Shows a deprecation warning when nextest is used with doctests without this flag, to prepare `cargo insta` to no longer run a separate doctest process when using nextest in the future. [#​803](https://redirect.github.com/mitsuhiko/insta/issues/803) - Add ergonomic `--test-runner-fallback` / `--no-test-runner-fallback` flags to `cargo insta test`. [#​811](https://redirect.github.com/mitsuhiko/insta/issues/811) - Apply redactions to snapshot metadata. [#​813](https://redirect.github.com/mitsuhiko/insta/issues/813) - Remove confusing 'previously unseen snapshot' message. [#​812](https://redirect.github.com/mitsuhiko/insta/issues/812) - Speed up JSON float rendering. [#​806](https://redirect.github.com/mitsuhiko/insta/issues/806) ([@​nyurik](https://redirect.github.com/nyurik)) - Allow globset version up to 0.4.16. [#​810](https://redirect.github.com/mitsuhiko/insta/issues/810) ([@​g0hl1n](https://redirect.github.com/g0hl1n)) - Improve documentation. [#​814](https://redirect.github.com/mitsuhiko/insta/issues/814) ([@​tshepang](https://redirect.github.com/tshepang)) - We no longer trim starting newlines during assertions, which allows asserting the number of leading newlines match. Existing assertions with different leading newlines will pass and print a warning suggesting running with `--force-update-snapshots`. They may fail in the future. (Note that we still currently allow differing *trailing* newlines, though may adjust this in the future). [#​563](https://redirect.github.com/mitsuhiko/insta/issues/563) </details> <details> <summary>dtolnay/proc-macro2 (proc-macro2)</summary> ### [`v1.0.106`](https://redirect.github.com/dtolnay/proc-macro2/releases/tag/1.0.106) [Compare Source](https://redirect.github.com/dtolnay/proc-macro2/compare/1.0.105...1.0.106) - Optimize `Span::byte_range` ([#​530](https://redirect.github.com/dtolnay/proc-macro2/issues/530)) ### [`v1.0.105`](https://redirect.github.com/dtolnay/proc-macro2/releases/tag/1.0.105) [Compare Source](https://redirect.github.com/dtolnay/proc-macro2/compare/1.0.104...1.0.105) - Make std dependencies more easily discoverable in source code ([#​528](https://redirect.github.com/dtolnay/proc-macro2/issues/528)) ### [`v1.0.104`](https://redirect.github.com/dtolnay/proc-macro2/releases/tag/1.0.104) [Compare Source](https://redirect.github.com/dtolnay/proc-macro2/compare/1.0.103...1.0.104) - Add Rust 1.92.0's TokenStream Extend impls ([#​527](https://redirect.github.com/dtolnay/proc-macro2/issues/527), [rust-lang/rust#145722](https://redirect.github.com/rust-lang/rust/pull/145722)) </details> <details> <summary>dtolnay/quote (quote)</summary> ### [`v1.0.44`](https://redirect.github.com/dtolnay/quote/releases/tag/1.0.44) [Compare Source](https://redirect.github.com/dtolnay/quote/compare/1.0.43...1.0.44) - Support raw lifetime syntax `'r#async` ([#​323](https://redirect.github.com/dtolnay/quote/issues/323)) ### [`v1.0.43`](https://redirect.github.com/dtolnay/quote/releases/tag/1.0.43) [Compare Source](https://redirect.github.com/dtolnay/quote/compare/1.0.42...1.0.43) - Disambiguate references to `stringify!` macro inside generated code ([#​316](https://redirect.github.com/dtolnay/quote/issues/316)) </details> <details> <summary>serde-rs/json (serde_json)</summary> ### [`v1.0.149`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.149) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.148...v1.0.149) - Align arbitrary\_precision number strings with zmij's formatting ([#​1306](https://redirect.github.com/serde-rs/json/issues/1306), thanks [@​b41sh](https://redirect.github.com/b41sh)) ### [`v1.0.148`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.148) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.147...v1.0.148) - Update `zmij` dependency to 1.0 ### [`v1.0.147`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.147) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.146...v1.0.147) - Switch float-to-string algorithm from Ryū to Żmij for better f32 and f64 serialization performance ([#​1304](https://redirect.github.com/serde-rs/json/issues/1304)) ### [`v1.0.146`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.146) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.145...v1.0.146) - Set fast\_arithmetic=64 for riscv64 ([#​1305](https://redirect.github.com/serde-rs/json/issues/1305), thanks [@​Xeonacid](https://redirect.github.com/Xeonacid)) </details> <details> <summary>dtolnay/syn (syn)</summary> ### [`v2.0.114`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.114) [Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.113...2.0.114) - Make std dependencies more easily discoverable in source code ([#​1956](https://redirect.github.com/dtolnay/syn/issues/1956), thanks [@​tamird](https://redirect.github.com/tamird)) ### [`v2.0.113`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.113) [Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.112...2.0.113) - Allow parsing TypeParam with colon not followed by any type param bounds ([#​1953](https://redirect.github.com/dtolnay/syn/issues/1953), thanks [@​wyfo](https://redirect.github.com/wyfo)) ### [`v2.0.112`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.112) [Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.111...2.0.112) - Fix panic in LitByte::new().value() ([#​1951](https://redirect.github.com/dtolnay/syn/issues/1951), thanks [@​VictorArcium](https://redirect.github.com/VictorArcium)) ### [`v2.0.111`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.111) [Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.110...2.0.111) - Allow first argument of `braced!`, `bracketed!`, `parenthesized!` to be an otherwise unused variable ([#​1946](https://redirect.github.com/dtolnay/syn/issues/1946)) </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
b5f3b2b to
ed04c6f
Compare
This PR contains the following updates:
0.9.20→0.9.220.10.0→0.11.02.12.0→2.13.01.43.2→1.46.21.0.103→1.0.1061.0.42→1.0.441.0.145→1.0.1492.0.110→2.0.114Release Notes
pacak/bpaf (bpaf)
v0.9.21Compare Source
indexmap-rs/indexmap (indexmap)
v2.13.0Compare Source
CloneforIntoKeysandIntoValues.map::Slice::split_at_checkedandsplit_at_mut_checked.set::Slice::split_at_checked.v2.12.1Compare Source
hashbrown's new bucket API.mitsuhiko/insta (insta)
v1.46.2Compare Source
leading_space()function incorrectly treated\ras indentation, causing carriage returns to be stripped from snapshot content. #866< 0.4.17upper bound on globset dependency. #864v1.46.1Compare Source
with_settings!macro. #858v1.46.0Compare Source
INSTA_PENDING_DIRenvironment variable for Bazel and other hermetic build systems. When set, pending snapshots are written to a separate directory while keeping the source tree read-only. We are very open to feedback on this feature. #852test.runner_fallbackconfig key. #853v1.45.1Compare Source
v1.45.0Compare Source
INSTA_DIFF_TOOLenvironment variable. When set, insta uses the specified tool (e.g.,delta,difftastic) to display snapshot diffs instead of the built-in diff. The tool is invoked as<tool> <old_file> <new_file>. #844test.disable_nextest_doctestconfig option toinsta.yaml, allowing users to silence the nextest doctest warning via config instead of passing--dndevery time. #842--unreferenced=rejectwithout false positives on.snapfiles from other tools. #846clippy::needless_raw_stringslint by only using raw strings when content contains backslashes or quotes. #828v1.44.3Compare Source
======or similar patterns as conflicts. #832let output = assert_snapshot!(...)). #833v1.44.2Compare Source
NEXTEST_RUN_IDenvironment variable. #824v1.44.1Compare Source
--dndalias for--disable-nextest-doctestflag to make it easier to silence the deprecation warning. #822v1.44.0Compare Source
(LLMs, CI pipelines, scripts).
cargo insta review --snapshot <path>andcargo insta reject --snapshot <path>now work without a terminal. Enhancedpending-snapshotsoutput with usage instructions and workspace-relative paths. #815--disable-nextest-doctestflag tocargo insta testto disable running doctests withnextest. Shows a deprecation warning when nextest is used with doctests without this flag, to prepare
cargo instato no longer runa separate doctest process when using nextest in the future. #803
--test-runner-fallback/--no-test-runner-fallbackflags tocargo insta test. #811the number of leading newlines match. Existing assertions with different
leading newlines will pass and print a warning suggesting running with
--force-update-snapshots. They may fail in the future. (Note that we stillcurrently allow differing trailing newlines, though may adjust this in the
future). #563
dtolnay/proc-macro2 (proc-macro2)
v1.0.106Compare Source
Span::byte_range(#530)v1.0.105Compare Source
v1.0.104Compare Source
dtolnay/quote (quote)
v1.0.44Compare Source
'r#async(#323)v1.0.43Compare Source
stringify!macro inside generated code (#316)serde-rs/json (serde_json)
v1.0.149Compare Source
v1.0.148Compare Source
zmijdependency to 1.0v1.0.147Compare Source
v1.0.146Compare Source
dtolnay/syn (syn)
v2.0.114Compare Source
v2.0.113Compare Source
v2.0.112Compare Source
v2.0.111Compare Source
braced!,bracketed!,parenthesized!to be an otherwise unused variable (#1946)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 if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.