Skip to content

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

Merged
ReenigneArcher merged 1 commit into
masterfrom
renovate/regex-1-x
Jul 10, 2026
Merged

chore(deps): update rust crate regex to v1.13.0#174
ReenigneArcher merged 1 commit into
masterfrom
renovate/regex-1-x

Conversation

@renovate

@renovate renovate Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
regex dependencies minor =1.12.4=1.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.

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "after 1am and before 8am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, 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 added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 10, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.00%. Comparing base (2c9b516) to head (10c5148).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
+ Coverage   50.96%   52.00%   +1.04%     
==========================================
  Files          40       40              
  Lines       13190    13191       +1     
==========================================
+ Hits         6722     6860     +138     
+ Misses       6468     6331     -137     
Flag Coverage Δ
aarch64-apple-darwin 51.02% <ø> (ø)
aarch64-unknown-linux-gnu 51.01% <ø> (ø)
aarch64-unknown-linux-musl 51.56% <ø> (ø)
x86_64-apple-darwin 51.02% <ø> (ø)
x86_64-pc-windows-msvc 51.97% <ø> (?)
x86_64-unknown-linux-gnu 51.00% <ø> (-0.01%) ⬇️
x86_64-unknown-linux-musl 51.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c9b516...10c5148. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ReenigneArcher ReenigneArcher merged commit ae6460a into master Jul 10, 2026
45 checks passed
@ReenigneArcher ReenigneArcher deleted the renovate/regex-1-x branch July 10, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant