# 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"
rust-version = "1.89.0"
name = "neocmakelsp"
version = "0.10.3"
authors = ["Decodertalkers <aakari@tutanota.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Lsp for cmake"
readme = "README.md"
keywords = ["lsp"]
license = "MIT"
repository = "https://github.com/neocmakelsp/neocmakelsp"

[[bin]]
name = "neocmakelsp"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dependencies.clap_complete]
version = "4.6.0"
features = ["unstable-dynamic"]

[dependencies.cli-table]
version = "0.5.0"

[dependencies.dashmap]
version = "6.2.1"

[dependencies.etcetera]
version = "0.11.0"

[dependencies.glob]
version = "0.3.3"

[dependencies.ignore]
version = "0.4.25"

[dependencies.pathdiff]
version = "0.2.3"

[dependencies.regex]
version = "1.12.3"

[dependencies.rust-ini]
version = "0.21.3"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokio]
version = "1.52.0"
features = ["full"]

[dependencies.toml]
version = "1.1.2"

[dependencies.tower-lsp]
version = "0.25.0-rc3"
package = "tower-lsp-f"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"

[dependencies.tree-sitter]
version = "0.26.8"

[dependencies.tree-sitter-cmake]
version = "0.7.1"

[dependencies.treesitter_kind_collector]
version = "0.2.0"

[dev-dependencies.assert_cmd]
version = "2.2.0"

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[target."cfg(windows)".dependencies.path-absolutize]
version = "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"
priority = 0
check-cfg = ["cfg(tarpaulin)"]
