2018-08-10 15:07:43 +03:00
|
|
|
[package]
|
2020-02-18 12:33:16 +01:00
|
|
|
name = "rust-analyzer"
|
2020-08-13 17:42:52 +02:00
|
|
|
version = "0.0.0"
|
2020-08-24 17:27:13 +02:00
|
|
|
description = "TBD"
|
2020-08-13 17:42:52 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-02-11 10:20:04 +02:00
|
|
|
authors = ["rust-analyzer developers"]
|
2020-02-18 11:56:18 +01:00
|
|
|
autobins = false
|
2020-08-13 17:42:52 +02:00
|
|
|
edition = "2018"
|
2018-08-10 15:07:43 +03:00
|
|
|
|
2019-11-17 18:35:05 +03:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2020-02-18 11:56:18 +01:00
|
|
|
[[bin]]
|
2020-02-18 12:33:16 +01:00
|
|
|
name = "rust-analyzer"
|
2020-06-03 18:01:24 -07:00
|
|
|
path = "src/bin/main.rs"
|
2020-02-18 11:56:18 +01:00
|
|
|
|
2018-08-10 15:07:43 +03:00
|
|
|
[dependencies]
|
2020-02-18 15:57:41 +02:00
|
|
|
anyhow = "1.0.26"
|
2020-10-13 18:05:06 +03:00
|
|
|
crossbeam-channel = "0.5.0"
|
2020-12-31 13:05:19 +01:00
|
|
|
dissimilar = "1.0.2"
|
2020-10-18 01:53:01 +02:00
|
|
|
env_logger = { version = "0.8.1", default-features = false }
|
2020-12-30 10:39:50 -05:00
|
|
|
itertools = "0.10.0"
|
2020-02-17 17:41:53 +01:00
|
|
|
jod-thread = "0.1.0"
|
2020-02-18 15:57:41 +02:00
|
|
|
log = "0.4.8"
|
2021-02-16 09:21:07 -05:00
|
|
|
lsp-types = { version = "0.88.0", features = ["proposed"] }
|
2020-06-27 10:09:47 +03:00
|
|
|
parking_lot = "0.11.0"
|
2021-03-06 23:02:06 +03:00
|
|
|
xflags = "0.2.1"
|
2020-07-29 19:49:10 +02:00
|
|
|
oorandom = "11.1.2"
|
2020-02-18 15:57:41 +02:00
|
|
|
rustc-hash = "1.1.0"
|
2020-05-01 15:29:03 +03:00
|
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
2020-12-02 17:31:24 +03:00
|
|
|
serde_json = { version = "1.0.48", features = ["preserve_order"] }
|
2020-12-23 13:21:58 +02:00
|
|
|
serde_path_to_error = "0.1"
|
2020-02-17 17:41:53 +01:00
|
|
|
threadpool = "1.7.1"
|
2020-10-24 17:10:27 +03:00
|
|
|
rayon = "1.5"
|
2020-07-22 13:42:53 +02:00
|
|
|
mimalloc = { version = "0.1.19", default-features = false, optional = true }
|
2020-11-16 15:10:13 -05:00
|
|
|
lsp-server = "0.5.0"
|
2020-10-23 17:07:06 +02:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
|
|
|
|
tracing-tree = { version = "0.1.4" }
|
2021-01-26 22:11:12 +03:00
|
|
|
always-assert = "0.1"
|
2020-02-17 17:41:53 +01:00
|
|
|
|
2020-08-24 17:27:13 +02:00
|
|
|
stdx = { path = "../stdx", version = "0.0.0" }
|
|
|
|
flycheck = { path = "../flycheck", version = "0.0.0" }
|
|
|
|
ide = { path = "../ide", version = "0.0.0" }
|
2020-11-28 16:30:39 +02:00
|
|
|
ide_db = { path = "../ide_db", version = "0.0.0" }
|
2020-08-24 17:27:13 +02:00
|
|
|
profile = { path = "../profile", version = "0.0.0" }
|
|
|
|
project_model = { path = "../project_model", version = "0.0.0" }
|
|
|
|
syntax = { path = "../syntax", version = "0.0.0" }
|
|
|
|
text_edit = { path = "../text_edit", version = "0.0.0" }
|
|
|
|
vfs = { path = "../vfs", version = "0.0.0" }
|
|
|
|
vfs-notify = { path = "../vfs-notify", version = "0.0.0" }
|
|
|
|
cfg = { path = "../cfg", version = "0.0.0" }
|
|
|
|
toolchain = { path = "../toolchain", version = "0.0.0" }
|
2018-09-01 20:21:11 +03:00
|
|
|
|
2020-02-17 19:03:03 +01:00
|
|
|
# This should only be used in CLI
|
2021-02-23 00:44:58 +05:30
|
|
|
ide_ssr = { path = "../ide_ssr", version = "0.0.0" }
|
2020-08-24 17:27:13 +02:00
|
|
|
hir = { path = "../hir", version = "0.0.0" }
|
|
|
|
hir_def = { path = "../hir_def", version = "0.0.0" }
|
|
|
|
hir_ty = { path = "../hir_ty", version = "0.0.0" }
|
|
|
|
proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
|
2020-02-17 19:03:03 +01:00
|
|
|
|
2020-01-26 12:02:56 +01:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2020-02-18 15:57:41 +02:00
|
|
|
winapi = "0.3.8"
|
2020-01-26 12:02:56 +01:00
|
|
|
|
2021-01-18 19:25:55 +01:00
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
|
|
jemallocator = { version = "0.3.2", optional = true }
|
|
|
|
|
2018-09-01 20:21:11 +03:00
|
|
|
[dev-dependencies]
|
2021-01-03 14:43:29 +01:00
|
|
|
expect-test = "1.1"
|
2018-10-31 21:37:32 +03:00
|
|
|
test_utils = { path = "../test_utils" }
|
2020-08-13 10:08:11 +02:00
|
|
|
mbe = { path = "../mbe" }
|
2020-08-12 16:46:20 +02:00
|
|
|
tt = { path = "../tt" }
|
2021-01-18 19:25:55 +01:00
|
|
|
|
|
|
|
[features]
|
|
|
|
jemalloc = ["jemallocator", "profile/jemalloc"]
|
2021-01-26 22:11:12 +03:00
|
|
|
force-always-assert = ["always-assert/force"]
|