[package]
edition = "2024"
name = "lang-check"
version = "0.7.0"
build = "build.rs"
include = [
"src/**/*",
"build.rs",
"Cargo.toml",
"Cargo.lock",
"proto/checker.proto",
"tree-sitter-*/src/**/*",
"data/**/*",
"dictionaries/bundled/**/*",
"dictionaries/affixes/**/*",
"dictionaries/THIRD_PARTY_NOTICES.md",
"dictionaries/names/*.fst",
"benches/**/*",
"tests/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multilingual prose linter with tree-sitter extraction and pluggable checking engines"
homepage = "https://github.com/KaiErikNiermann/LangCheck"
readme = "README.md"
keywords = [
"linter",
"prose",
"grammar",
"tree-sitter",
"language-server",
]
categories = [
"command-line-utilities",
"text-processing",
"development-tools",
]
license = "MIT"
repository = "https://github.com/KaiErikNiermann/LangCheck"
[lib]
name = "lang_check"
path = "src/lib.rs"
[[bin]]
name = "language-check"
path = "src/bin/language-check.rs"
[[bin]]
name = "language-check-server"
path = "src/bin/language-check-server.rs"
[[test]]
name = "cli_auto_fix"
path = "tests/cli_auto_fix.rs"
[[test]]
name = "cli_directory_check"
path = "tests/cli_directory_check.rs"
[[test]]
name = "cli_fail_on"
path = "tests/cli_fail_on.rs"
[[test]]
name = "cli_json_severity"
path = "tests/cli_json_severity.rs"
[[test]]
name = "emphasised_words"
path = "tests/emphasised_words.rs"
[[test]]
name = "engine_language_claims"
path = "tests/engine_language_claims.rs"
[[test]]
name = "examples_extraction"
path = "tests/examples_extraction.rs"
[[test]]
name = "hunspell_end_to_end"
path = "tests/hunspell_end_to_end.rs"
[[test]]
name = "hunspell_real_packs"
path = "tests/hunspell_real_packs.rs"
[[test]]
name = "inline_directives"
path = "tests/inline_directives.rs"
[[test]]
name = "malformed_input_fuzz"
path = "tests/malformed_input_fuzz.rs"
[[test]]
name = "morphology_precision"
path = "tests/morphology_precision.rs"
[[test]]
name = "name_detection"
path = "tests/name_detection.rs"
[[test]]
name = "no_provider_placement"
path = "tests/no_provider_placement.rs"
[[test]]
name = "prose_composition_fuzz"
path = "tests/prose_composition_fuzz.rs"
[[test]]
name = "prose_extraction_edge_cases"
path = "tests/prose_extraction_edge_cases.rs"
[[test]]
name = "server_protocol"
path = "tests/server_protocol.rs"
[[test]]
name = "sls_integration"
path = "tests/sls_integration.rs"
[[test]]
name = "snapshot_diagnostics"
path = "tests/snapshot_diagnostics.rs"
[[test]]
name = "wasm_plugin"
path = "tests/wasm_plugin.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1.0"
[dependencies.ciborium]
version = "0.2"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.codebook-tree-sitter-latex]
version = "0.6"
[dependencies.console]
version = "0.16"
[dependencies.dashmap]
version = "6"
[dependencies.dirs]
version = "7"
[dependencies.extism]
version = "1"
[dependencies.fs4]
version = "1.1.0"
[dependencies.fst]
version = "0.4"
[dependencies.glob]
version = "0.3"
[dependencies.harper-core]
version = "2.0.0"
features = ["concurrent"]
[dependencies.indicatif]
version = "0.18"
[dependencies.lru]
version = "0.18"
[dependencies.prost]
version = "0.14"
[dependencies.redb]
version = "4.1"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"form",
]
[dependencies.ropey]
version = "1.6"
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11.0"
[dependencies.spellbook]
version = "0.4.2"
[dependencies.strsim]
version = "0.11"
[dependencies.tokio]
version = "1"
features = [
"full",
"sync",
"fs",
]
[dependencies.tower-lsp]
version = "0.20"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.tree-sitter]
version = "0.27"
[dependencies.tree-sitter-html]
version = "0.23"
[dependencies.tree-sitter-language]
version = "0.1"
[dependencies.tree-sitter-md]
version = "0.5"
default-features = false
[dependencies.tree-sitter-rst]
version = "0.2"
[dependencies.whatlang]
version = "0.18"
[dev-dependencies.divan]
version = "0.1"
[dev-dependencies.insta]
version = "1.47"
features = ["yaml"]
[dev-dependencies.jsonschema]
version = "0.57.0"
[dev-dependencies.rand]
version = "0.9"
features = ["small_rng"]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.tree-sitter-html]
version = "0.23"
[dev-dependencies.tree-sitter-md]
version = "0.5"
default-features = false
[build-dependencies.cc]
version = "1.2"
[build-dependencies.prost-build]
version = "0.14"
[profile.dev.package."*"]
opt-level = 2