Skip to content

Commit ceb59ab

Browse files
committed
Speedup compile time for rustpython-parser
1 parent 666db0f commit ceb59ab

File tree

8 files changed

+47175
-204
lines changed

8 files changed

+47175
-204
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Lib/** linguist-vendored
1+
Lib/** linguist-vendored
2+
parser/src/python.rs linguist-generated

Cargo.lock

Lines changed: 11 additions & 154 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parser/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ license = "MIT"
99
edition = "2021"
1010

1111
[build-dependencies]
12-
lalrpop = "0.19.7"
12+
tiny-keccak = { version = "2", features = ["sha3"] }
13+
phf_codegen = "0.10"
1314

1415
[dependencies]
1516
rustpython-ast = { path = "../ast" }
@@ -20,7 +21,7 @@ num-traits = "0.2.14"
2021
unic-emoji-char = "0.9.0"
2122
unic-ucd-ident = "0.9.0"
2223
unicode_names2 = "0.5.0"
23-
phf = { version = "0.10.1", features = ["macros"] }
24+
phf = "0.10.1"
2425
ahash = "0.7.6"
2526

2627
[dev-dependencies]

0 commit comments

Comments
 (0)