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

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

[features]
test-support = [
    "collections/test-support",
    "gpui/test-support",
    "language/test-support",
    "lsp/test-support",
    "settings/test-support",
    "util/test-support",
]

[dependencies]
anyhow.workspace = true
async-compression.workspace = true
async-tar = "0.4.2"
collections = { path = "../collections" }
futures.workspace = true
gpui = { path = "../gpui" }
language = { path = "../language" }
log.workspace = true
lsp = { path = "../lsp" }
node_runtime = { path = "../node_runtime" }
parking_lot.workspace = true
serde.workspace = true
serde_derive.workspace = true
settings = { path = "../settings" }
smol.workspace = true
theme = { path = "../theme" }
util = { path = "../util" }

[dev-dependencies]
clock = { path = "../clock" }
collections = { path = "../collections", features = ["test-support"] }
fs = { path = "../fs", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] }
lsp = { path = "../lsp", features = ["test-support"] }
rpc = { path = "../rpc", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"] }
util = { path = "../util", features = ["test-support"] }
