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

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

[features]
test-support = [
    "client/test-support",
    "db/test-support",
    "language/test-support",
    "settings/test-support",
    "text/test-support",
    "prettier/test-support",
    "gpui/test-support",
]

[dependencies]
aho-corasick = "1.1"
anyhow.workspace = true
async-trait.workspace = true
backtrace = "0.3"
client = { path = "../client" }
clock = { path = "../clock" }
collections = { path = "../collections" }
copilot = { path = "../copilot" }
db = { path = "../db" }
fs = { path = "../fs" }
fsevent = { path = "../fsevent" }
futures.workspace = true
fuzzy = {  path = "../fuzzy" }
git = { path = "../git" }
globset.workspace = true
gpui = { path = "../gpui" }
ignore = "0.4"
itertools = "0.10"
language = { path = "../language" }
lazy_static.workspace = true
log.workspace = true
lsp = { path = "../lsp" }
node_runtime = { path = "../node_runtime" }
parking_lot.workspace = true
postage.workspace = true
prettier = { path = "../prettier" }
rand.workspace = true
regex.workspace = true
rpc = { path = "../rpc" }
schemars.workspace = true
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings = { path = "../settings" }
sha2 = "0.10"
similar = "1.3"
smol.workspace = true
sum_tree = { path = "../sum_tree" }
terminal = { path = "../terminal" }
text = { path = "../text" }
thiserror.workspace = true
toml.workspace = true
util = { path = "../util" }

[dev-dependencies]
client = { path = "../client", features = ["test-support"] }
collections = { path = "../collections", features = ["test-support"] }
ctor.workspace = true
db = { path = "../db", features = ["test-support"] }
env_logger.workspace = true
fs = { path = "../fs",  features = ["test-support"] }
git2.workspace = true
gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] }
lsp = { path = "../lsp", features = ["test-support"] }
prettier = { path = "../prettier", features = ["test-support"] }
pretty_assertions.workspace = true
rpc = { path = "../rpc", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"] }
tempfile.workspace = true
unindent.workspace = true
util = { path = "../util", features = ["test-support"] }
