lang-check 0.2.7

Multilingual prose linter with tree-sitter extraction and pluggable checking engines
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "lang-check"
version = "0.2.7"
build = "build.rs"
include = [
    "src/**/*",
    "build.rs",
    "Cargo.toml",
    "Cargo.lock",
    "proto/checker.proto",
    "tree-sitter-*/src/**/*",
    "data/**/*",
    "dictionaries/**/*",
    "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 = "prose_extraction_edge_cases"
path = "tests/prose_extraction_edge_cases.rs"

[[test]]
name = "sls_integration"
path = "tests/sls_integration.rs"

[[test]]
name = "snapshot_diagnostics"
path = "tests/snapshot_diagnostics.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.5"
features = ["derive"]

[dependencies.codebook-tree-sitter-latex]
version = "0.6"

[dependencies.console]
version = "0.16"

[dependencies.dashmap]
version = "6"

[dependencies.dirs]
version = "6"

[dependencies.extism]
version = "1"

[dependencies.glob]
version = "0.3"

[dependencies.harper-core]
version = "1.9.0"
features = ["concurrent"]

[dependencies.indicatif]
version = "0.18"

[dependencies.lru]
version = "0.16"

[dependencies.prost]
version = "0.14"

[dependencies.redb]
version = "3.1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "form",
]

[dependencies.ropey]
version = "1.6"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[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.26"

[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.42"
features = ["yaml"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[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.0"

[build-dependencies.prost-build]
version = "0.14"

[profile.dev.package."*"]
opt-level = 2