rust/crates/ra_lsp_server/Cargo.toml
2020-02-17 19:03:03 +01:00

54 lines
1.3 KiB
TOML

[package]
edition = "2018"
name = "ra_lsp_server"
version = "0.1.0"
authors = ["rust-analyzer developers"]
[lib]
doctest = false
[dependencies]
anyhow = "1.0"
crossbeam-channel = "0.4"
either = "1.5"
env_logger = { version = "0.7.1", default-features = false }
itertools = "0.8.0"
jod-thread = "0.1.0"
log = "0.4.3"
lsp-types = { version = "0.70.0", features = ["proposed"] }
parking_lot = "0.10.0"
pico-args = "0.3.0"
rand = { version = "0.7.0", features = ["small_rng"] }
relative-path = "1.0.0"
rustc-hash = "1.0"
serde = { version = "1.0.83", features = ["derive"] }
serde_json = "1.0.34"
threadpool = "1.7.1"
lsp-server = "0.3.0"
ra_cargo_watch = { path = "../ra_cargo_watch" }
ra_ide = { path = "../ra_ide" }
ra_prof = { path = "../ra_prof" }
ra_project_model = { path = "../ra_project_model" }
ra_syntax = { path = "../ra_syntax" }
ra_text_edit = { path = "../ra_text_edit" }
ra_vfs = "0.5.0"
ra_vfs_glob = { path = "../ra_vfs_glob" }
# This should only be used in CLI
ra_db = { path = "../ra_db" }
hir = { path = "../ra_hir", package = "ra_hir" }
hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
[target.'cfg(windows)'.dependencies]
winapi = "0.3"
[dev-dependencies]
tempfile = "3"
test_utils = { path = "../test_utils" }
[features]
jemalloc = [ "ra_prof/jemalloc" ]