Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix: broken feature

Elijah Pottera11d9db69823
diff --git a/Cargo.lock b/Cargo.lock
index 2d2984187..63d214ecb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2832,6 +2832,7 @@ dependencies = [
"is-macro",
"lru",
"rand 0.9.2",
+ "rayon",
"rs-conllu",
"serde",
"serde_json",
diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.toml
index cf50dd451..c6dec390b 100644
--- a/harper-pos-utils/Cargo.toml
+++ b/harper-pos-utils/Cargo.toml
@@ -18,7 +18,9 @@ burn = { version = "0.19.0", default-features = false, features = ["std"] }
burn-ndarray = { version = "0.19.0", default-features = false }
serde_json = "1.0.145"
lru = "0.16.2"
+rayon = { version = "1.11.0", optional = true }
[features]
default = []
training = ["dep:rand", "burn/train", "burn/autodiff"]
+threaded = ["dep:rayon"]