Skip to content

chore(deps): update rust crates (major) - #1783

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/major-rust-crates
Open

chore(deps): update rust crates (major)#1783
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/major-rust-crates

Conversation

@renovate

@renovate renovate Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
junction workspace.dependencies major 1.4.12.0.0
serial_test workspace.dependencies major 3.2.04.0.0
syn workspace.dependencies major 23
zip workspace.dependencies major 7.28.0

Release Notes

tesuji/junction (junction)

v2.0.0

Compare Source

Changed
  • junction::get_target now doesn't check whether the junction's destination directory exists.
    See #​34 for more information.
palfrey/serial_test (serial_test)

v4.0.1

Compare Source

As per v4.0.0, but with the root MSRV correctly set to 1.93.1

v4.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: palfrey/serial_test@v3.5.0...v4.0.0

dtolnay/syn (syn)

v3.0.3

Compare Source

  • Documentation improvements

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

This release contains adjustments to the syntax tree to account for ongoing Rust language development from the 3 years since syn 2.0.0 and to anticipate some in-flight Rust language RFCs.

These include: default values in fields, pinned type sugar, raw lifetimes, generator blocks and functions, unnamed enum variants, attributes in tuple types and tuple patterns, named arguments in parenthesized generic argument lists, lightweight clones, const traits, const function pointers, mutability restricted fields, supertrait auto implementation, final associated functions, trait implementability restrictions, const blocks in path arguments, item-level const blocks, return type notation, never patterns, function delegation, mutable by-reference bindings, in-place initialization, field projections, explicitly dyn-compatible traits, view types, file-level frontmatter, generic const arguments, guard patterns, lazy type aliases, explicitly safe foreign items, super let, unsafe fields, pattern types, heterogeneous try-blocks, function contracts, async function trait bounds, static closure coroutine syntax, unsafe binder types, move expressions, for-await loops, and postfix keywords.


[API documentation for 3.0]

Breaking changes

Modifiers

To reserve more room for language evolution, there are 10 new non-exhaustive structs in the syntax tree having the following commonality:

  • Name ending in Modifiers. {BlockModifiers, ClosureModifiers, ConstModifiers, FieldModifiers, FnModifiers, ImplModifiers, LocalModifiers, TraitBoundModifiers, TraitModifiers, TypeModifiers}

  • Each implements Default. The default value is guaranteed to comprise no tokens.

  • Non-exhaustive. Can only be instantiated by Syn's parser or by creating and then mutating ▁▁Modifiers::default().

  • Does not implement Parse. When parsing, they are parsed by the enclosing syntax tree node.

  • Does not implement ToTokens. In some cases the syntax that these nodes might hold in the future is not necessarily contiguous tokens.

  • Provides .require_empty() -> Result<()> which returns a meaningfully spanned error if the modifiers are different from the empty default. This enables a caller to reject syntax it does not recognize without knowing what that syntax may be.

Types

  • Type::BareFn has been renamed to Type::FnPtr to mirror the compiler's terminology. Together with this, BareVariadic is renamed to FnPtrVariadic.

  • The mutually exclusive const_token and mutability fields of Type::Ptr have been unified into an enum of type PointerMutability, which was already previously used by Expr::RawAddr.

  • Every Type variant now holds attributes, which can represent the attributes of element types inside a tuple type, or attributes for a function return type.

  • BareFnArg is renamed to NamedArg and is used in ParenthesizedGenericArguments, in addition to the existing use in Type::FnPtr.

Expressions

  • In Expr::Closure, the fields or1_token and or2_token have been renamed to inputs_begin and inputs_end to indicate the beginning and ending | token of the closure inputs.

Statements

  • Attributes are now preserved on all expression kinds in statement position. Previously, parsing would silently lose attributes on some expression statements without a dedicated Expr variant, such as tail-call expressions.

Patterns

  • The guard field of Arm is replaced by a new Pat::Guard variant held in the arm's pat.

Items

  • The unsafety field of Signature, which represented the presence or absence of unsafe, is replaced by a 3-way Safety enum which may be safe, unsafe, or default. ForeignItem::Static also gets a Safety.

  • Some of the fields of Receiver have been split to a non-exhaustive ReceiverKind enum to create room for proposed new kinds of method receivers, such as pinned.

  • Type aliases now hold a WhereClausePlacement to distinguish between early placement (which is the default for item-level type aliases and is deprecated in associated type aliases) and late placement (which is the default for associated type aliases and is unstable in item-level type aliases). Parsing and printing a syntax tree will now preserve the where-clause placement rather than rewriting it to the default placement for the item kind.

Generics

  • WherePredicate::Lifetime and WherePredicate::Type have a new field holding the attributes on the where-predicates.

  • GenericParam::Type and GenericParam::Const now match the rest of the syntax tree in holding their optional default using a single Option of tuple, rather than a pair of Option.

Literals

  • The Parse implementation of Lifetime no longer permits keyword lifetimes, matching a change in Rust 1.81 to deny such lifetimes pre-expansion. Lifetime::parse_any may be used to parse lifetimes permissive of keywords.

  • LitInt and LitFloat no longer implement From<proc_macro2::Literal>. Use Lit::new(literal) and then match Lit::Int or Lit::Float.

  • The StrStyle enum was unused and has been deleted.

More

  • File contains a new Option<Frontmatter>, but does not yet parse frontmatter in syn::parse_file until that language feature progresses closer to stabilization.

  • Some enums no longer provide From impls. Construct the variant by name instead, such as Expr::Array(e) in place of e.into().

  • The pop method of Punctuated<T, P> now returns Option<T> discarding the trailing punctuation if any, rather than Option<Pair<T, P>>. A new method pop_pair provides the old behavior.

  • Syntax tree traversal (visit, visit_mut, fold) no longer provides a method for processing Span. This was already incompletely supported and never walked most of the spans in a syntax tree.

  • The Speculative and AnyDelimiter traits have been sealed and cannot be implemented for types outside of Syn's ParseStream.

zip-rs/zip2 (zip)

v8.6.0

Compare Source

🚀 Features
  • add compression not supported as enum error (#​774)
🐛 Bug Fixes
  • allow for [u8] as filename (#​775)
🚜 Refactor
  • mark ZipFlags as non-exhaustive and add test for HasZipMetadata (#​777)
  • use and simplify is_dir (#​776)

v8.5.1

Compare Source

🚜 Refactor
  • change magic finder to stack buffer (#​763)
  • simplify extra field parsing (#​764)

v8.5.0

Compare Source

🐛 Bug Fixes
  • remove zip64 comment and add zip64 extensible data sector (#​747)
🚜 Refactor
  • remove useless magic in struct (#​730)
  • change extra_field from Arc<Vec> to Arc<[u8]> (#​741)
⚙️ Miscellaneous Tasks

v8.4.0

Compare Source

🚀 Features
  • add a check for building benches (#​748)
🚜 Refactor
  • split part of read.rs for code readability (#​744)
  • remove unused allow (#​745)
⚡ Performance
  • skip BufReader for Stored files in make_reader (#​739)
⚙️ Miscellaneous Tasks
  • move pull request template to correct folder (#​749)

v8.3.1

Compare Source

🚜 Refactor
  • use AexEncryption::new (#​736)
  • update tests to add big endian miri check (#​735)
⚙️ Miscellaneous Tasks
  • cleanup repository files (#​743)

v8.3.0

Compare Source

🚀 Features
  • add must_use (#​727)
  • improve and fix extended timestamp extra field parsing (#​713)
  • add crc32 ignore option (#​710)
  • path related code in single file (#​712)
🐛 Bug Fixes
🚜 Refactor
  • refactor some imports (#​734)
  • move code to distinct file (datetime, FixedSizeBlock) (#​733)
  • move stream code to src/read/stream.rs (#​731)
  • remove zip64 extra field update (#​732)
  • improve part of the code with clippy help (#​725)
  • simplify code for unicode extra field and improve error message (#​724)
  • reorganize code (#​714)
Deps
  • avoid pulling in zeroize_derive (#​720)

v8.2.0

Compare Source

🚀 Features
  • allow custom salt (#​680)
  • Support compressing bzip2 when feature bzip2-rs is enabled, since bzip2/bzip2-sys now supports it (#​685)
  • enforce clippy in CI (#​674)
🐛 Bug Fixes
  • zip64 central header (issue 617) (#​629)
  • allow aes password as bytes (#​686)
  • handle extra field padding (#​682)
🚜 Refactor
  • Simplify 2 type conversions in src/write.rs (#​687)
⚡ Performance
  • AI tweaks for string type conversions in src/types.rs (#​670)

v8.1.0

Compare Source

🚀 Features
  • (writer) Allow getting underlying writer of ZipWriter (#​464)
  • add system to FileOption, so byte-for-byte identical archives can be created across platforms (#​660)
🐛 Bug Fixes
  • Bugs in extra-data length calculation in src/write.rs (#​662)

v8.0.0

Compare Source

🚀 Features
  • document zip flags as enum (#​639)
  • Migrate to Rust 2024 (#​650)
  • [breaking] Remove deprecated methods of DateTime (#​597)

v7.4.0

Compare Source

🚀 Features
  • Increase MSRV to 1.88 and update dependencies (#​626)

v7.3.0

Compare Source

🚀 Features
  • cleanup the benchmarks and Cargo.toml (#​606)
  • Add support for per-file comments (#​543)
🐛 Bug Fixes
  • Document feature unreserved and make the mapping of extra fields public (#​616)
  • Return an error if abort_file() fails when exceeding non-large-file limit (#​598)
⚙️ Miscellaneous Tasks
  • Bump version to 7.3.0 (semver checks fail if it's still 7.3.0-pre1)

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "before 10am on monday"
  • 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.


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

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

@renovate

renovate Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ 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-plus/packages/cli/binding`
referenced by workspace at `/tmp/renovate/repos/github/voidzero-dev/vite-plus/Cargo.toml`

Caused by:
  failed to load manifest for dependency `rolldown_binding`

Caused by:
  failed to read `/tmp/renovate/repos/github/voidzero-dev/vite-plus/rolldown/crates/rolldown_binding/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

@netlify

netlify Bot commented Jun 7, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit e043766
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a8b409b6b0d6e0008c37fb3

@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch 2 times, most recently from af3cd19 to 79e2650 Compare June 14, 2026 17:39
@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch 3 times, most recently from 44bd38e to bf03de2 Compare June 28, 2026 16:47
@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch 2 times, most recently from c4a933f to d551305 Compare July 5, 2026 16:19
@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch 2 times, most recently from 91a6582 to 87b4e56 Compare July 7, 2026 15:17

This comment was marked as resolved.

@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch from 300ca25 to 722ccaf Compare August 16, 2026 17:29
@socket-security

socket-security Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​junction@​1.4.2 ⏵ 2.0.010010093100100
Updatedcargo/​serial_test@​3.5.0 ⏵ 4.0.110010093100100
Updatedcargo/​zip@​7.2.0 ⏵ 8.6.0100 +110093100100

View full report

@github-actions

github-actions Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (e043766)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.74 MiB 10.74 MiB +4.00 KiB (+0.04%)
vp (Linux x64) gzip -9 4.65 MiB 4.65 MiB +3.10 KiB (+0.07%)
NAPI (Linux x64) Binary 32.20 MiB 32.20 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 12.69 MiB 12.70 MiB +5.74 KiB (+0.04%)
vp (macOS ARM64) Binary 8.03 MiB 8.03 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 4.05 MiB 4.06 MiB +1.83 KiB (+0.04%)
NAPI (macOS ARM64) Binary 39.79 MiB 39.79 MiB -16 B (-0.00%)
NAPI (macOS ARM64) gzip -9 16.99 MiB 16.99 MiB -4.02 KiB (-0.02%)
vp (Windows x64) Binary 8.63 MiB 8.64 MiB +8.00 KiB (+0.09%)
vp (Windows x64) gzip -9 3.77 MiB 3.77 MiB +3.69 KiB (+0.10%)
NAPI (Windows x64) Binary 27.04 MiB 27.04 MiB +4.00 KiB (+0.01%)
NAPI (Windows x64) gzip -9 10.75 MiB 10.76 MiB +725 B (+0.01%)
Trampoline (Windows x64) Binary 214.00 KiB 214.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 103.20 KiB 103.20 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.50 MiB 4.51 MiB +7.50 KiB (+0.16%)
Installer (Windows x64) gzip -9 2.11 MiB 2.11 MiB +2.49 KiB (+0.12%)

@fengmk2 fengmk2 self-assigned this Aug 17, 2026
@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch from 5faff68 to b13e78f Compare August 17, 2026 06:38
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests test: sfw preview-build Publish this PR's commits to the registry bridge as preview builds labels Aug 17, 2026
@renovate
renovate Bot force-pushed the renovate/major-rust-crates branch from 306068b to 633f7eb Compare August 23, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview-build Publish this PR's commits to the registry bridge as preview builds test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: sfw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant