Skip to content

Commit

Permalink
Use regex-lite instead of regex (take 2).
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Jul 25, 2023
1 parent 2e5f20d commit 5ff3bc6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["command-line-utilities", "development-tools::profiling"]
edition = "2021"

[dependencies]
regex = "1.0"
regex-lite = "0.1"
fxhash = "0.2"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// I am partial to FxHashMap, so I chose it over FnvHashMap.

use fxhash::FxHashMap;
use regex::Regex;
use regex_lite::Regex;
use std::env;
use std::fmt::Display;
use std::fs::File;
Expand Down

0 comments on commit 5ff3bc6

Please sign in to comment.