]> git.lizzy.rs Git - rust.git/blob - crates/rust-analyzer/Cargo.toml
Merge #5266
[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.11.0"
25 pico-args = "0.3.1"
26 rand = { version = "0.7.3", features = ["small_rng"] }
27 rustc-hash = "1.1.0"
28 serde = { version = "1.0.106", features = ["derive"] }
29 serde_json = "1.0.48"
30 threadpool = "1.7.1"
31 rayon = "1.3.1"
32
33 stdx = { path = "../stdx" }
34
35 lsp-server = "0.3.3"
36 flycheck = { path = "../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 vfs = { path = "../vfs" }
43 vfs-notify = { path = "../vfs-notify" }
44 ra_cfg = { path = "../ra_cfg"}
45 ra_toolchain = { path = "../ra_toolchain" }
46
47 # This should only be used in CLI
48 ra_db = { path = "../ra_db" }
49 ra_ide_db = { path = "../ra_ide_db" }
50 ra_ssr = { path = "../ra_ssr" }
51 hir = { path = "../ra_hir", package = "ra_hir" }
52 hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
53 hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
54 ra_proc_macro_srv = { path = "../ra_proc_macro_srv" }
55
56 [target.'cfg(windows)'.dependencies]
57 winapi = "0.3.8"
58
59 [dev-dependencies]
60 tempfile = "3.1.0"
61 insta = "0.16.0"
62 test_utils = { path = "../test_utils" }
63 mbe = { path = "../ra_mbe", package = "ra_mbe" }
64 tt = { path = "../ra_tt", package = "ra_tt" }
65
66 [features]
67 jemalloc = [ "ra_prof/jemalloc" ]