[package]
name = "semantic_index"
version = "0.1.0"
edition = "2021"
publish = false
license = "GPL-3.0-or-later"

[lib]
path = "src/semantic_index.rs"
doctest = false

[dependencies]
ai = { path = "../ai" }
anyhow.workspace = true
async-trait.workspace = true
collections = { path = "../collections" }
futures.workspace = true
globset.workspace = true
gpui = { path = "../gpui" }
language = { path = "../language" }
lazy_static.workspace = true
log.workspace = true
ndarray = { version = "0.15.0" }
ordered-float.workspace = true
parking_lot.workspace = true
postage.workspace = true
project = { path = "../project" }
rand.workspace = true
release_channel = { path = "../release_channel" }
rpc = { path = "../rpc" }
rusqlite.workspace = true
schemars.workspace = true
serde.workspace = true
serde_json.workspace = true
settings = { path = "../settings" }
sha1 = "0.10.5"
smol.workspace = true
tiktoken-rs.workspace = true
tree-sitter.workspace = true
util = { path = "../util" }
workspace = { path = "../workspace" }

[dev-dependencies]
ai = { path = "../ai", features = ["test-support"] }
client = { path = "../client" }
collections = { path = "../collections", features = ["test-support"] }
ctor.workspace = true
env_logger.workspace = true
gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] }
node_runtime = { path = "../node_runtime" }
pretty_assertions.workspace = true
project = { path = "../project", features = ["test-support"] }
rand.workspace = true
rpc = { path = "../rpc", features = ["test-support"] }
rust-embed.workspace = true
settings = { path = "../settings", features = ["test-support"]}
tempfile.workspace = true
tree-sitter-cpp.workspace = true
tree-sitter-elixir.workspace = true
tree-sitter-json.workspace = true
tree-sitter-lua.workspace = true
tree-sitter-php.workspace = true
tree-sitter-ruby.workspace = true
tree-sitter-rust.workspace = true
tree-sitter-toml.workspace = true
tree-sitter-typescript.workspace = true
unindent.workspace = true
workspace = { path = "../workspace", features = ["test-support"] }
