Skip to content

Commit

Permalink
perf(dict)!: Switch to PHF Map
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 31, 2024
1 parent da0e536 commit 7457534
Show file tree
Hide file tree
Showing 3 changed files with 180,467 additions and 239,940 deletions.
4 changes: 2 additions & 2 deletions crates/typos-dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]

[dependencies]
dictgen = { version = "^0.2", path = "../dictgen" }
phf = "0.11.2"
dictgen = { version = "^0.2", path = "../dictgen", features = ["map"] }

[dev-dependencies]
csv = "1.3"
Expand All @@ -29,7 +30,6 @@ varcon = { version = "^1.0", path = "../varcon" }
snapbox = "0.6.5"
indexmap = "2.2.6"
divan = "0.1.16"
phf = "0.11.2"
heck = "0.5.0"

[lints]
Expand Down
Loading

0 comments on commit 7457534

Please sign in to comment.