[package]
name = "neocmakelsp"
version = "0.10.3"
edition = "2024"
license = "MIT"
description = "The Lsp for cmake"
repository = "https://github.com/neocmakelsp/neocmakelsp"
authors = ["Decodertalkers <aakari@tutanota.com>"]
keywords = ["lsp"]
rust-version = "1.89.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.102"
clap = { version = "4.6.0", features = ["derive"] }
clap_complete = { version = "4.6.0", features = ["unstable-dynamic"] }
cli-table = "0.5.0"
dashmap = "6.2.1"
etcetera = "0.11.0"
glob = "0.3.3"
ignore = "0.4.25"
pathdiff = "0.2.3"
regex = "1.12.3"
rust-ini = "0.21.3"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tokio = { version = "1.52.0", features = ["full"] }
toml = "1.1.2"
tower-lsp = { package = "tower-lsp-f", version = "0.25.0-rc3" }
tracing = "0.1.44"
tracing-subscriber = "0.3.23"
tree-sitter = "0.26.8"
tree-sitter-cmake = "0.7.1"
treesitter_kind_collector = "0.2.0"

[dev-dependencies]
assert_cmd = "2.2.0"
indoc = "2.0.7"
tempfile = "3.27.0"
tower = { version = "0.5.3", features = ["util"] }

[target.'cfg(windows)'.dependencies]
path-absolutize = "3.1.1"

[lints.clippy]
equatable_if_let = "warn"
missing_const_for_fn = "warn"
needless_raw_string_hashes = "warn"
redundant_pub_crate = "warn"
semicolon_if_nothing_returned = "warn"
unnecessary_semicolon = "warn"
unnecessary_wraps = "warn"
use_self = "warn"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(tarpaulin)"] }
