Skip to content

Commit

Permalink
replace regex with regex-lite to reduce binary size
Browse files Browse the repository at this point in the history
this reduces size almost 2x. preserving some regex functionality
  • Loading branch information
klensy committed Sep 4, 2024
1 parent 4e2b393 commit 4f412bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 43 deletions.
46 changes: 4 additions & 42 deletions 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 @@ -13,7 +13,7 @@ repository = "https://github.com/dtolnay/cargo-llvm-lines"
[dependencies]
cargo-subcommand-metadata = "0.1"
clap = { version = "4", features = ["deprecated", "derive", "wrap_help"] }
regex = "1.9"
regex = { version = "0.1", package = "regex-lite" }
rustc-demangle = "0.1"
shlex = "1.3"
tempfile = "3.4"
Expand Down

0 comments on commit 4f412bd

Please sign in to comment.