Skip to content

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

Merge branch 'master' into local-stats

Elijah Potter080c5ad2ebf8
diff --cc Cargo.lock
index d4a700ed4,dd75a08ed..a403b67b7
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -814,21 -810,9 +814,21 @@@ dependencies =
"tracing-subscriber",
]
+[[package]]
+name = "harper-stats"
- version = "0.25.0"
++version = "0.26.0"
+dependencies = [
+ "harper-core",
+ "quickcheck",
+ "quickcheck_macros",
+ "serde",
+ "serde_json",
+ "uuid",
+]
+
[[package]]
name = "harper-tree-sitter"
- version = "0.25.1"
+ version = "0.26.0"
dependencies = [
"harper-core",
"tree-sitter",
diff --cc harper-cli/Cargo.toml
index 2ccd226c1,0fccb5875..a9d91f1ea
--- a/harper-cli/Cargo.toml
+++ b/harper-cli/Cargo.toml
@@@ -10,11 -10,10 +10,11 @@@ repository = "https://github.com/automa
anyhow = "1.0.97"
ariadne = "0.4.1"
clap = { version = "4.5.32", features = ["derive"] }
- harper-stats = { path = "../harper-stats", version = "0.25.0" }
- harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.25.0" }
- harper-core = { path = "../harper-core", version = "0.25.0" }
- harper-comments = { path = "../harper-comments", version = "0.25.0" }
- harper-typst = { path = "../harper-typst", version = "0.25.0" }
++harper-stats = { path = "../harper-stats", version = "0.26.0" }
+ harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.26.0" }
+ harper-core = { path = "../harper-core", version = "0.26.0" }
+ harper-comments = { path = "../harper-comments", version = "0.26.0" }
+ harper-typst = { path = "../harper-typst", version = "0.26.0" }
hashbrown = "0.15.2"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
diff --cc harper-ls/Cargo.toml
index 7dd7b0fc0,aaffc5a56..81867a5a7
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@@ -8,12 -8,11 +8,12 @@@ readme = "README.md
repository = "https://github.com/automattic/harper"
[dependencies]
- harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.25.0" }
- harper-stats = { path = "../harper-stats", version = "0.25.0" }
- harper-core = { path = "../harper-core", version = "0.25.0", features = ["concurrent"] }
- harper-comments = { path = "../harper-comments", version = "0.25.0" }
- harper-typst = { path = "../harper-typst", version = "0.25.0" }
- harper-html = { path = "../harper-html", version = "0.25.0" }
+ harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.26.0" }
++harper-stats = { path = "../harper-stats", version = "0.26.0" }
+ harper-core = { path = "../harper-core", version = "0.26.0", features = ["concurrent"] }
+ harper-comments = { path = "../harper-comments", version = "0.26.0" }
+ harper-typst = { path = "../harper-typst", version = "0.26.0" }
+ harper-html = { path = "../harper-html", version = "0.26.0" }
tower-lsp = "0.20.0"
tokio = { version = "1.44.1", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }
clap = { version = "4.5.32", features = ["derive"] }
diff --cc harper-stats/Cargo.toml
index 4abd32263,000000000..05e6a9463
mode 100644,000000..100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@@ -1,18 -1,0 +1,18 @@@
+[package]
+name = "harper-stats"
- version = "0.25.0"
++version = "0.26.0"
+edition = "2021"
+
+[dependencies]
+serde = { version = "1.0.217", features = ["derive"] }
- harper-core = { path = "../harper-core", version = "0.25.0", features = ["concurrent"] }
++harper-core = { path = "../harper-core", version = "0.26.0", features = ["concurrent"] }
+uuid = { version = "1.12.0", features = ["serde", "v4"] }
+serde_json = "1.0.140"
+
+[dev-dependencies]
+quickcheck = "1.0.3"
+quickcheck_macros = "1.0.0"
+
+[features]
+default = []
+js = ["uuid/js"]
diff --cc harper-wasm/Cargo.toml
index bdb681fa1,73ce6310e..4b0276b87
--- a/harper-wasm/Cargo.toml
+++ b/harper-wasm/Cargo.toml
@@@ -19,4 -19,3 +19,4 @@@ once_cell = "1.20.3
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.140"
serde = { version = "1.0.219", features = ["derive"] }
- harper-stats = { path = "../harper-stats", version = "0.25.0", features = ["js"] }
++harper-stats = { path = "../harper-stats", version = "0.26.0", features = ["js"] }