# 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 = "2021" name = "lsp-ai" version = "0.7.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "LSP-AI is an open-source language server that serves as a backend for AI-powered functionality, designed to assist and empower software engineers, not replace them." readme = "README.md" license = "MIT" repository = "https://github.com/SilasMarvin/lsp-ai" [[bin]] name = "lsp-ai" path = "src/main.rs" [[test]] name = "integration_tests" path = "tests/integration_tests.rs" [dependencies.anyhow] version = "1.0.75" [dependencies.async-trait] version = "0.1.78" [dependencies.clap] version = "4.5.14" features = ["derive"] [dependencies.directories] version = "5.0.1" [dependencies.futures] version = "0.3" [dependencies.fxhash] version = "0.2.1" [dependencies.hf-hub] version = "0.3.2" [dependencies.ignore] version = "0.4.22" [dependencies.indexmap] version = "2.2.5" [dependencies.llama-cpp-2] version = "0.1.55" optional = true [dependencies.lsp-server] version = "0.7.6" [dependencies.lsp-types] version = "0.95.0" [dependencies.md5] version = "0.7.0" [dependencies.minijinja] version = "1.0.12" features = ["loader"] [dependencies.once_cell] version = "1.19.0" [dependencies.ordered-float] version = "4.2.1" [dependencies.parking_lot] version = "0.12.1" [dependencies.pgml] version = "1.0.4" [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.1.0" optional = true [dependencies.regex] version = "1.10.6" [dependencies.reqwest] version = "0.11.25" features = [ "blocking", "json", ] [dependencies.ropey] version = "1.6.1" [dependencies.serde] version = "1.0.190" [dependencies.serde_json] version = "1.0.108" [dependencies.simsimd] version = "4.4.0" optional = true [dependencies.splitter-tree-sitter] version = "0.1.0" [dependencies.text-splitter] version = "0.13.3" [dependencies.tokenizers] version = "0.14.1" [dependencies.tokio] version = "1.36.0" features = [ "rt-multi-thread", "time", ] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dependencies.tree-sitter] version = "0.22" [dependencies.utils-tree-sitter] version = "0.1.0" features = ["all"] [dependencies.xxhash-rust] version = "0.8.5" features = ["xxh3"] [dev-dependencies.assert_cmd] version = "2.0.14" [build-dependencies.cc] version = "1" [features] cuda = ["llama-cpp-2/cuda"] default = [ "simsimd", "rayon", ] llama_cpp = ["dep:llama-cpp-2"] metal = ["llama-cpp-2/metal"] rayon = [ "dep:rayon", "indexmap/rayon", ] simsimd = ["dep:simsimd"] stress_test = []