]> git.lizzy.rs Git - rust.git/blob - crates/rust-analyzer/Cargo.toml
Merge #4161
[rust.git] / crates / rust-analyzer / Cargo.toml
1 [package]
2 edition = "2018"
3 name = "rust-analyzer"
4 version = "0.1.0"
5 authors = ["rust-analyzer developers"]
6 autobins = false
7
8 [lib]
9 doctest = false
10
11 [[bin]]
12 name = "rust-analyzer"
13 path = "./src/bin/main.rs"
14
15 [dependencies]
16 anyhow = "1.0.26"
17 crossbeam-channel = "0.4.0"
18 env_logger = { version = "0.7.1", default-features = false }
19 globset = "0.4.4"
20 itertools = "0.9.0"
21 jod-thread = "0.1.0"
22 log = "0.4.8"
23 lsp-types = { version = "0.74.0", features = ["proposed"] }
24 parking_lot = "0.10.0"
25 pico-args = "0.3.1"
26 rand = { version = "0.7.3", features = ["small_rng"] }
27 relative-path = "1.0.0"
28 rustc-hash = "1.1.0"
29 serde = { version = "1.0.104", features = ["derive"] }
30 serde_json = "1.0.48"
31 threadpool = "1.7.1"
32
33 stdx = { path = "../stdx" }
34
35 lsp-server = "0.3.1"
36 ra_flycheck = { path = "../ra_flycheck" }
37 ra_ide = { path = "../ra_ide" }
38 ra_prof = { path = "../ra_prof" }
39 ra_project_model = { path = "../ra_project_model" }
40 ra_syntax = { path = "../ra_syntax" }
41 ra_text_edit = { path = "../ra_text_edit" }
42 ra_vfs = "0.5.2"
43
44 # This should only be used in CLI
45 ra_db = { path = "../ra_db" }
46 hir = { path = "../ra_hir", package = "ra_hir" }
47 hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
48 hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
49 ra_proc_macro_srv = { path = "../ra_proc_macro_srv" }
50
51 [target.'cfg(windows)'.dependencies]
52 winapi = "0.3.8"
53
54 [dev-dependencies]
55 tempfile = "3.1.0"
56 test_utils = { path = "../test_utils" }
57
58 [features]
59 jemalloc = [ "ra_prof/jemalloc" ]