]> git.lizzy.rs Git - rust.git/blob - crates/rust-analyzer/Cargo.toml
Update completions test output
[rust.git] / crates / rust-analyzer / Cargo.toml
1 [package]
2 name = "rust-analyzer"
3 version = "0.0.0"
4 description = "TBD"
5 license = "MIT OR Apache-2.0"
6 authors = ["rust-analyzer developers"]
7 autobins = false
8 edition = "2018"
9
10 [lib]
11 doctest = false
12
13 [[bin]]
14 name = "rust-analyzer"
15 path = "src/bin/main.rs"
16
17 [dependencies]
18 anyhow = "1.0.26"
19 crossbeam-channel = "0.5.0"
20 dissimilar = "1.0.2"
21 env_logger = { version = "0.8.1", default-features = false }
22 itertools = "0.10.0"
23 jod-thread = "0.1.0"
24 log = "0.4.8"
25 lsp-types = { version = "0.86.0", features = ["proposed"] }
26 parking_lot = "0.11.0"
27 pico-args = "0.3.1"
28 oorandom = "11.1.2"
29 rustc-hash = "1.1.0"
30 serde = { version = "1.0.106", features = ["derive"] }
31 serde_json = { version = "1.0.48", features = ["preserve_order"] }
32 serde_path_to_error = "0.1"
33 threadpool = "1.7.1"
34 rayon = "1.5"
35 mimalloc = { version = "0.1.19", default-features = false, optional = true }
36 lsp-server = "0.5.0"
37 tracing = "0.1"
38 tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
39 tracing-tree = { version = "0.1.4" }
40
41 stdx = { path = "../stdx", version = "0.0.0" }
42 flycheck = { path = "../flycheck", version = "0.0.0" }
43 ide = { path = "../ide", version = "0.0.0" }
44 ide_db = { path = "../ide_db", version = "0.0.0" }
45 profile = { path = "../profile", version = "0.0.0" }
46 project_model = { path = "../project_model", version = "0.0.0" }
47 syntax = { path = "../syntax", version = "0.0.0" }
48 text_edit = { path = "../text_edit", version = "0.0.0" }
49 vfs = { path = "../vfs", version = "0.0.0" }
50 vfs-notify = { path = "../vfs-notify", version = "0.0.0" }
51 cfg = { path = "../cfg", version = "0.0.0" }
52 toolchain = { path = "../toolchain", version = "0.0.0" }
53
54 # This should only be used in CLI
55 ssr = { path = "../ssr", version = "0.0.0" }
56 hir = { path = "../hir", version = "0.0.0" }
57 hir_def = { path = "../hir_def", version = "0.0.0" }
58 hir_ty = { path = "../hir_ty", version = "0.0.0" }
59 proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
60
61 [target.'cfg(windows)'.dependencies]
62 winapi = "0.3.8"
63
64 [target.'cfg(not(target_env = "msvc"))'.dependencies]
65 jemallocator = { version = "0.3.2", optional = true }
66
67 [dev-dependencies]
68 expect-test = "1.1"
69 test_utils = { path = "../test_utils" }
70 mbe = { path = "../mbe" }
71 tt = { path = "../tt" }
72
73 [features]
74 jemalloc = ["jemallocator", "profile/jemalloc"]