rust/crates/rust-analyzer/Cargo.toml

59 lines
1.4 KiB
TOML
Raw Normal View History

2018-08-10 14:07:43 +02:00
[package]
2018-10-15 19:15:53 +02:00
edition = "2018"
2020-02-18 12:33:16 +01:00
name = "rust-analyzer"
2018-08-10 14:07:43 +02:00
version = "0.1.0"
authors = ["rust-analyzer developers"]
2020-02-18 11:56:18 +01:00
autobins = false
2018-08-10 14:07:43 +02:00
2019-11-17 16:35:05 +01:00
[lib]
doctest = false
2020-02-18 11:56:18 +01:00
[[bin]]
2020-02-18 12:33:16 +01:00
name = "rust-analyzer"
2020-02-18 11:56:18 +01:00
path = "./src/bin/main.rs"
2018-08-10 14:07:43 +02:00
[dependencies]
2020-02-17 19:03:03 +01:00
anyhow = "1.0"
crossbeam-channel = "0.4"
2020-02-17 17:41:53 +01:00
either = "1.5"
env_logger = { version = "0.7.1", default-features = false }
2020-02-17 19:07:30 +01:00
globset = "0.4.4"
2020-02-17 19:03:03 +01:00
itertools = "0.8.0"
2020-02-17 17:41:53 +01:00
jod-thread = "0.1.0"
2018-08-10 16:49:45 +02:00
log = "0.4.3"
2020-01-22 21:40:35 +01:00
lsp-types = { version = "0.70.0", features = ["proposed"] }
parking_lot = "0.10.0"
2020-02-17 19:03:03 +01:00
pico-args = "0.3.0"
rand = { version = "0.7.0", features = ["small_rng"] }
2020-02-17 17:41:53 +01:00
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"
2020-02-17 17:41:53 +01:00
ra_cargo_watch = { path = "../ra_cargo_watch" }
ra_ide = { path = "../ra_ide" }
2019-04-02 16:52:04 +02:00
ra_prof = { path = "../ra_prof" }
2020-02-17 17:41:53 +01:00
ra_project_model = { path = "../ra_project_model" }
ra_syntax = { path = "../ra_syntax" }
ra_text_edit = { path = "../ra_text_edit" }
ra_vfs = "0.5.0"
2018-09-01 19:21:11 +02:00
2020-02-17 19:03:03 +01:00
# 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" }
2020-01-26 12:02:56 +01:00
[target.'cfg(windows)'.dependencies]
winapi = "0.3"
2018-09-01 19:21:11 +02:00
[dev-dependencies]
2018-12-30 21:33:04 +01:00
tempfile = "3"
2018-10-31 19:37:32 +01:00
test_utils = { path = "../test_utils" }
2019-01-28 13:52:21 +01:00
[features]
jemalloc = [ "ra_prof/jemalloc" ]