Skip to content

chore(deps): update rust crates (major)#362

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-rust-crates
Open

chore(deps): update rust crates (major)#362
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-rust-crates

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 26, 2026

This PR contains the following updates:

Package Type Update Change
similar workspace.dependencies major 2.7.03.0.0
toml workspace.dependencies major 0.9.51.0.0
ts-rs workspace.dependencies major 11.1.012.0.0

Release Notes

mitsuhiko/similar (similar)

v3.1.0

Compare Source

  • Added capture_diff_slices_by_key and capture_diff_slices_by_key_deadline
    as convenience helpers for diffing slices by derived keys.
  • Fixed Compact emitting inconsistent DiffOp cursor positions after
    compaction, which could leave Delete/Insert operations with stale
    new_index/old_index values.
  • Added explicit lifetime capture (+ use<...>) on iterator-returning APIs to
    improve compatibility with Rust 2024 lifetime capture behavior. #​93

v3.0.0

Compare Source

  • Added a Git-style Histogram diff implementation exposed as
    Algorithm::Histogram, including deadline-aware Myers fallback and
    comprehensive regression/behavior tests.
  • Raised MSRV to Rust 1.85 and moved the crate to Rust 2024 edition.
  • Added a Hunt-style diff implementation exposed as Algorithm::Hunt.
  • Added configurable inline refinement via InlineChangeOptions and
    InlineChangeMode, including semantic cleanup and new
    TextDiff::iter_inline_changes_with_options* methods. #​92
  • Added a global disjoint-input fast path in algorithms::diff_deadline
    to avoid pathological runtimes on large, fully distinct inputs.
  • Improved Algorithm::Myers performance on heavily unbalanced diffs to
    avoid pathological slowdowns.
  • Added diff_deadline_raw entrypoints in the algorithm modules to bypass
    shared heuristics and keep minimal intrinsic trait bounds where needed.
  • Added test files in examples/diffs that can be used with the some of the
    examples as input pairs.
  • Added CachedLookup, a helper for adapting virtual or computed sequences by
    materializing items on first access and then serving borrowed values through
    normal indexing. The owned-lookup example demonstrates this approach for
    issue #​33.
  • Fixed ranged indexing in the classic LCS table algorithm.
  • Improved diff compaction to merge adjacent delete hunks across equal runs.
  • Excluded development scripts from published crate contents. #​87
  • TextDiff::from_* and TextDiffConfig::diff_* now accept owned inputs
    (String, Vec<u8>, Cow) in addition to borrowed inputs. This allows
    returning text diffs from functions without external owner lifetimes. #​65
  • TextDiff no longer exposes old_slices / new_slices. Use
    old_len, new_len, old_slice, new_slice, iter_old_slices,
    iter_new_slices, old_lookup, and new_lookup instead.
  • TextDiff::iter_changes now panics on invalid out-of-bounds DiffOp
    ranges instead of silently truncating iteration.
  • utils::diff_lines_inline now takes &TextDiff and options rather than
    (Algorithm, old, new, options).
  • utils::diff_lines now avoids a second line-tokenization pass.
  • Renamed get_diff_ratio to diff_ratio.
  • Added first-class no_std + alloc support with an explicit default std
    feature.
  • Added optional hashbrown backend for no_std map storage
    (default-features = false, features = ["hashbrown"]), while the default
    no_std backend uses alloc::collections::BTreeMap.
  • Made core constructors const-ready (Capture::new, Replace::new,
    NoFinishHook::new, InlineChangeOptions::new, TextDiff::configure).
toml-rs/toml (toml)

v1.1.2

Compare Source

v1.1.1

Compare Source

v1.1.0

Compare Source

v1.0.7

Compare Source

v1.0.6

Compare Source

v1.0.5

Compare Source

v1.0.4

Compare Source

v1.0.3

Compare Source

v1.0.2

Compare Source

v1.0.1

Compare Source

v1.0.0

Compare Source

Aleph-Alpha/ts-rs (ts-rs)

v12.0.0

Compare Source

Breaking
  • Change generated type of unit structs to Record<symbol, never> (#​431)
  • Change generated type of HashMap to { [key in K]: V } if K is not an enum (#​446)
  • Enable programmatic configuration of binding generation (#​460)
Features
  • Add TS_RS_LARGE_INT environment variable to configure binding for i64, u64, i128, etc. (#​448)
  • Add support for arrayvec (#​469)
  • Add support for jiff (#​458)
Fixes
  • Do not emit warning for #[serde(borrow)] (#​471)
  • Do not emit warning for #[serde(crate = "..")] (#​447)
  • Fix trait bound generation when using #[ts(optional)] on an Option<Generic> (#​454)
  • Fix parsing of comma-separated serde attributes (#​466)

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "before 10am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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.


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

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

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 26, 2026

⚠️ 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: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
error: failed to load manifest for workspace member `/tmp/renovate/repos/github/voidzero-dev/vite-task/crates/fspy`
referenced via `crates/*` by workspace at `/tmp/renovate/repos/github/voidzero-dev/vite-task/Cargo.toml`

Caused by:
  failed to parse manifest at `/tmp/renovate/repos/github/voidzero-dev/vite-task/crates/fspy/Cargo.toml`

Caused by:
  `artifact = …` requires `-Z bindeps` (fspy_preload_unix)

@renovate renovate Bot force-pushed the renovate/major-rust-crates branch from 17a4524 to 27e6ae6 Compare April 29, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants