Skip to content

chore(deps): update rust crate duplicate to v2#91

Draft
dd-octo-sts[bot] wants to merge 1 commit intomainfrom
engraver-auto-version-upgrade/renovate/duplicate-2.x
Draft

chore(deps): update rust crate duplicate to v2#91
dd-octo-sts[bot] wants to merge 1 commit intomainfrom
engraver-auto-version-upgrade/renovate/duplicate-2.x

Conversation

@dd-octo-sts
Copy link

@dd-octo-sts dd-octo-sts bot commented Mar 6, 2026

This PR contains the following updates:

Package Type Update Change
duplicate dev-dependencies major 0.4.12.0.0

Release Notes

Emoun/duplicate (duplicate)

v2.0.1

Compare Source

Changed
  • Documentaion on nested invocations now clarifies that inner calls to duplicate are expanded before outer calls.
Fixed
  • Hints no longer print unusual Unicode characters. This was caused by an issue with the proc-macro2-diagnostics crate.
  • Fixed an issue where nested calls would result in outer calls only using substitutes from the first substitution group in all duplicates.
  • Module disambiguation now produces an error if no substitution identifier is suitable for disambiguating the module name. See #​64

v2.0.0

Compare Source

Added
  • substitute! and substitute_item allow the use of global substitutions without duplication. See #​49.
Changed
  • [BREAKING] Increased base MSRV to 1.65.
  • [BREAKING] duplicate! and duplicate_item no longer allow using exclusively global substitutions.
  • Edition increased to 2021.
  • Replaced proc-macro-error dependency with proc-macro2-diagnostics for printing nice error messages and hints. See #​61.
  • Updated heck dependency to version 0.5.

v1.0.0

Compare Source

Changed
  • Overhauled the pretty_errors feature to more consistently provide useful hints and code highlights. See #​19.
Fixed
  • duplicate now also substitutes the invocations of nested duplicate's. See #​48.
  • Forgetting to enclose subtitution parameters in brackets now reports sensible error. See #​30.
  • Short syntax no longer accepts providing no substitution groups after the identifier list. See #​29.
  • Fixed several issues where code was accepted which shouldn't have been.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Renovate Bot.

@dd-octo-sts
Copy link
Author

dd-octo-sts bot commented Mar 6, 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 crates/datadog-trace-agent/Cargo.toml --package duplicate@0.4.1 --precise 2.0.1
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants