Skip to content

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

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/regex-1.x-lockfile
Open

chore(deps): update rust crate regex to v1.13.0#771
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/regex-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
regex dev-dependencies minor 1.12.31.13.0

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.

v1.12.4

Compare Source

===================
This release includes a performance optimization for compilation of regexes
with very large character classes.

Improvements:

  • #​1308:
    Avoid re-canonicalizing the entire interval set when pushing new class ranges.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 June 9, 2026 19:16
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

📊 iai-callgrind Benchmark Results

➡️ 20 Unchanged (within ±0.1%)

Click to expand
Benchmark Instructions
iai_algos::corner_to_corner_astar 5,124
iai_algos::corner_to_corner_bfs 4,959
iai_algos::corner_to_corner_bfs_bidirectional 3,352,638
iai_algos::corner_to_corner_dfs 3,581,749
iai_algos::corner_to_corner_dijkstra 3,655,462
iai_algos::corner_to_corner_fringe 4,880
iai_algos::corner_to_corner_idastar 80,804
iai_algos::corner_to_corner_iddfs 251
iai_algos::no_path_astar 14
iai_algos::no_path_bfs 193
iai_algos::no_path_bfs_bidirectional 16
iai_algos::no_path_dfs 3,619,453
iai_algos::no_path_dijkstra 3,625,429
iai_algos::no_path_fringe 14
iai_edmondskarp::wikipedia_example_dense 38,236
iai_edmondskarp::wikipedia_example_sparse 65,777
iai_kuhn_munkres::kuhn_munkres_size_128 4,145,638
iai_kuhn_munkres::kuhn_munkres_size_32 251,623
iai_kuhn_munkres::kuhn_munkres_size_64 1,208,754
iai_separate_components::bench_separate_components 16,020,133

✅ All benchmarks unchanged


iai-callgrind measures instructions executed, which is deterministic and not affected by system load.

@renovate renovate Bot force-pushed the renovate/regex-1.x-lockfile branch from 31fafe6 to 2e55f82 Compare July 9, 2026 17:28
@renovate renovate Bot changed the title chore(deps): update rust crate regex to v1.12.4 chore(deps): update rust crate regex to v1.13.0 Jul 9, 2026
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