Skip to content

chore(deps): update rust crate regex to v1.13.0 - #11088

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/regex-1.x-lockfile
Jul 17, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/regex-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending
regex dependencies minor 1.12.4 → 1.13.0 1.13.1

Release Notes

rust-lang/regex (regex)

v1.13.0

Compare Source

===================
This release includes a new API, a regex! macro, for lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely you've
already written one exactly like it. The new macro can be used like this:

use regex::regex;

fn is_match(line: &str) -> bool {
    // The regex will be compiled approximately once and reused automatically.
    // This avoids the footgun of using `Regex::new` here, which would
    // guarantee that it would be compiled every time this routine is called.
    // This would likely make this routine much slower than it needs to be.
    regex!(r"bar|baz").is_match(line)
}

let hay = "\
path/to/foo:54:Blue Harvest
path/to/bar:90:Something, Something, Something, Dark Side
path/to/baz:3:It's a Trap!
";

let matches = hay.lines().filter(|line| is_match(line)).count();
assert_eq!(matches, 2);

Improvements:

  • #​709:
    Add a new regex! macro for efficient and automatic reuse of a compiled regex.

Configuration

📅 Schedule: (in timezone America/Chicago)

  • Branch creation
    • Only on Friday (* * * * 5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) July 17, 2026 07:56
@greptile-apps

greptile-apps Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

PR author is in the excluded authors list.

@socket-security

socket-security Bot commented Jul 17, 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/​regex@​1.12.4 ⏵ 1.13.010010093100100

View full report

@renovate
renovate Bot force-pushed the renovate/regex-1.x-lockfile branch from 8276a09 to a6b62bd Compare July 17, 2026 08:04
@renovate
renovate Bot merged commit 103e113 into main Jul 17, 2026
33 checks passed
@renovate
renovate Bot deleted the renovate/regex-1.x-lockfile branch July 17, 2026 08:44
@github-actions

Copy link
Copy Markdown
Contributor

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.7.7 x -- echo 20.1 ± 1.1 18.4 26.7 1.04 ± 0.12
mise x -- echo 19.3 ± 2.0 17.1 52.9 1.00

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.7.7 env 19.3 ± 1.0 17.8 24.9 1.09 ± 0.08
mise env 17.7 ± 0.9 16.4 22.5 1.00

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.7.7 hook-env 20.6 ± 1.3 18.5 26.1 1.00
mise hook-env 20.9 ± 1.9 17.9 32.8 1.02 ± 0.11

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.7.7 ls 18.4 ± 1.2 16.1 26.9 1.06 ± 0.10
mise ls 17.4 ± 1.1 14.9 22.6 1.00

xtasks/test/perf

Command mise-2026.7.7 mise Variance
install (cached) 176ms 176ms +0%
ls (cached) 65ms 64ms +1%
bin-paths (cached) 75ms 71ms +5%
task-ls (cached) 130ms 131ms +0%

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