5 license = "MIT OR Apache-2.0"
6 authors = ["rust-analyzer developers"]
14 name = "rust-analyzer"
15 path = "src/bin/main.rs"
19 crossbeam-channel = "0.5.0"
21 env_logger = { version = "0.8.1", default-features = false }
25 lsp-types = { version = "0.86.0", features = ["proposed"] }
26 parking_lot = "0.11.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"
35 mimalloc = { version = "0.1.19", default-features = false, optional = true }
38 tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
39 tracing-tree = { version = "0.1.4" }
42 stdx = { path = "../stdx", version = "0.0.0" }
43 flycheck = { path = "../flycheck", version = "0.0.0" }
44 ide = { path = "../ide", version = "0.0.0" }
45 ide_db = { path = "../ide_db", version = "0.0.0" }
46 profile = { path = "../profile", version = "0.0.0" }
47 project_model = { path = "../project_model", version = "0.0.0" }
48 syntax = { path = "../syntax", version = "0.0.0" }
49 text_edit = { path = "../text_edit", version = "0.0.0" }
50 vfs = { path = "../vfs", version = "0.0.0" }
51 vfs-notify = { path = "../vfs-notify", version = "0.0.0" }
52 cfg = { path = "../cfg", version = "0.0.0" }
53 toolchain = { path = "../toolchain", version = "0.0.0" }
55 # This should only be used in CLI
56 ssr = { path = "../ssr", version = "0.0.0" }
57 hir = { path = "../hir", version = "0.0.0" }
58 hir_def = { path = "../hir_def", version = "0.0.0" }
59 hir_ty = { path = "../hir_ty", version = "0.0.0" }
60 proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
62 [target.'cfg(windows)'.dependencies]
65 [target.'cfg(not(target_env = "msvc"))'.dependencies]
66 jemallocator = { version = "0.3.2", optional = true }
70 test_utils = { path = "../test_utils" }
71 mbe = { path = "../mbe" }
72 tt = { path = "../tt" }
75 jemalloc = ["jemallocator", "profile/jemalloc"]
76 force-always-assert = ["always-assert/force"]