Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
[package]
name = "harper-core"
version = "3.1.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/automattic/harper"
[dependencies]
blanket = "0.4.0"
fst = "0.4.7"
hashbrown = { version = "0.16.1", features = ["serde"] }
is-macro = "0.3.6"
itertools = "0.15.0"
ordered-float = { version = "5.3.0", features = ["serde"] }
paste = "1.0.14"
pulldown-cmark = "0.13.3"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
smallvec = { version = "1.15.1", features = ["serde"] }
thiserror = "2.0.18"
unicode-blocks = "0.1.9"
unicode-script = "0.5.8"
unicode-width = "0.2.2"
levenshtein_automata = { version = "0.2.1", features = ["fst_automaton"] }
cached = "2.0.2"
lru = "0.18.0"
foldhash = "0.2.0"
strum_macros = "0.28.0"
strum = "0.28.0"
ammonia = "4.1.2"
harper-brill = { path = "../harper-brill", version = "3.0.0" }
harper-thesaurus = { path = "../harper-thesaurus", version = "3.0.0", optional = true }
bitflags = { version = "2.11.0", features = ["serde"] }
trie-rs = "0.4.2"
indexmap = "2.13.1"
zip = { version = "8.6.0", default-features = false, features = ["deflate"] }
regex = "1.12.3"
boxcar = { version = "0.2.14", optional = true }
[dev-dependencies]
criterion = { version = "0.8.2", default-features = false }
rand = "0.10.1"
quickcheck = "1.1.0"
quickcheck_macros = "1.2.0"
rayon = "1.12.0"
[[bench]]
name = "parse_essay"
harness = false
[[bench]]
name = "spellcheck"
harness = false
[features]
default = ["thesaurus", "concurrent"]
concurrent = ["dep:boxcar"]
thesaurus = ["dep:harper-thesaurus"]