Skip to content

Commit 7ab0770

Browse files
committed
feat(tools): Migrated from regex to regex-lite
1 parent 31cf340 commit 7ab0770

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Cargo.lock

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ license.workspace = true
1414
bench = false
1515

1616
[dependencies]
17-
regex = "1"
17+
regex-lite = "^0.1"
1818

1919
[[bin]]
2020
name = "dedup_headers"

tools/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
pub mod headers {
5-
use regex::{Regex, RegexBuilder};
5+
use regex_lite::{Regex, RegexBuilder};
66
use std::collections::HashSet;
77
use std::fs::{File, OpenOptions};
88
use std::io::{self, BufReader, BufWriter, Read, Seek, Write};

0 commit comments

Comments
 (0)