zed/crates/project/Cargo.toml
Kirill Bulatov 944a1f8fb0
Send lsp_types::InitializeParams with Zed version (#7216)
Based on the great work in
https://github.com/zed-industries/zed/pull/7130 , now sends this data

```
[crates/lsp/src/lsp.rs:588] ClientInfo { name: name.to_string(), version: Some(version.to_string()) } = ClientInfo {
    name: "Zed Dev",
    version: Some(
        "0.122.0",
    ),
}
```

with every LSP server initialization.

Release Notes:

- Added Zed name and version to LSP InitializeParams requests
2024-02-01 18:39:28 +02:00

87 lines
2.4 KiB
TOML

[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"] }
release_channel = { path = "../release_channel" }
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"] }