5 authors = ["rust-analyzer developers"]
7 license = "MIT OR Apache-2.0"
13 name = "rust-analyzer"
14 path = "src/bin/main.rs"
18 crossbeam-channel = "0.4.0"
19 env_logger = { version = "0.7.1", default-features = false }
24 lsp-types = { version = "0.76.0", features = ["proposed"] }
25 parking_lot = "0.11.0"
27 rand = { version = "0.7.3", features = ["small_rng"] }
29 serde = { version = "1.0.106", features = ["derive"] }
34 stdx = { path = "../stdx" }
37 flycheck = { path = "../flycheck" }
38 ra_ide = { path = "../ra_ide" }
39 ra_prof = { path = "../ra_prof" }
40 ra_project_model = { path = "../ra_project_model" }
41 ra_syntax = { path = "../ra_syntax" }
42 ra_text_edit = { path = "../ra_text_edit" }
43 vfs = { path = "../vfs" }
44 vfs-notify = { path = "../vfs-notify" }
45 ra_cfg = { path = "../ra_cfg"}
46 ra_toolchain = { path = "../ra_toolchain" }
48 # This should only be used in CLI
49 ra_db = { path = "../ra_db" }
50 ra_ide_db = { path = "../ra_ide_db" }
51 ra_ssr = { path = "../ra_ssr" }
52 hir = { path = "../ra_hir", package = "ra_hir" }
53 hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
54 hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
55 ra_proc_macro_srv = { path = "../ra_proc_macro_srv" }
57 [target.'cfg(windows)'.dependencies]
62 expect = { path = "../expect" }
63 test_utils = { path = "../test_utils" }
64 mbe = { path = "../ra_mbe", package = "ra_mbe" }
65 tt = { path = "../ra_tt", package = "ra_tt" }
68 jemalloc = [ "ra_prof/jemalloc" ]
69 mimalloc = [ "ra_prof/mimalloc" ]