2018-08-10 12:07:43 +00:00
|
|
|
[package]
|
2020-02-18 11:33:16 +00:00
|
|
|
name = "rust-analyzer"
|
2020-08-13 15:42:52 +00:00
|
|
|
version = "0.0.0"
|
2021-07-19 12:39:49 +00:00
|
|
|
authors = ["rust-analyzer Team"]
|
|
|
|
homepage = "https://github.com/rust-analyzer/rust-analyzer"
|
|
|
|
description = "A language server for the Rust programming language"
|
|
|
|
documentation = "https://rust-analyzer.github.io/manual.html"
|
2020-08-13 15:42:52 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-02-18 10:56:18 +00:00
|
|
|
autobins = false
|
2021-10-21 15:49:28 +00:00
|
|
|
edition = "2021"
|
2021-10-23 12:07:11 +00:00
|
|
|
rust-version = "1.56"
|
2018-08-10 12:07:43 +00:00
|
|
|
|
2019-11-17 15:35:05 +00:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2020-02-18 10:56:18 +00:00
|
|
|
[[bin]]
|
2020-02-18 11:33:16 +00:00
|
|
|
name = "rust-analyzer"
|
2020-06-04 01:01:24 +00:00
|
|
|
path = "src/bin/main.rs"
|
2020-02-18 10:56:18 +00:00
|
|
|
|
2018-08-10 12:07:43 +00:00
|
|
|
[dependencies]
|
2020-02-18 13:57:41 +00:00
|
|
|
anyhow = "1.0.26"
|
2020-10-13 15:05:06 +00:00
|
|
|
crossbeam-channel = "0.5.0"
|
2020-12-31 12:05:19 +00:00
|
|
|
dissimilar = "1.0.2"
|
2020-12-30 15:39:50 +00:00
|
|
|
itertools = "0.10.0"
|
2021-10-14 06:37:57 +00:00
|
|
|
lsp-types = { version = "0.91", features = ["proposed"] }
|
2020-06-27 07:09:47 +00:00
|
|
|
parking_lot = "0.11.0"
|
2021-03-06 20:02:06 +00:00
|
|
|
xflags = "0.2.1"
|
2020-07-29 17:49:10 +00:00
|
|
|
oorandom = "11.1.2"
|
2020-02-18 13:57:41 +00:00
|
|
|
rustc-hash = "1.1.0"
|
2020-05-01 12:29:03 +00:00
|
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
2020-12-02 14:31:24 +00:00
|
|
|
serde_json = { version = "1.0.48", features = ["preserve_order"] }
|
2020-02-17 16:41:53 +00:00
|
|
|
threadpool = "1.7.1"
|
2020-10-24 14:10:27 +00:00
|
|
|
rayon = "1.5"
|
2020-07-22 11:42:53 +00:00
|
|
|
mimalloc = { version = "0.1.19", default-features = false, optional = true }
|
2021-04-27 11:47:06 +00:00
|
|
|
lsp-server = "0.5.1"
|
2020-10-23 15:07:06 +00:00
|
|
|
tracing = "0.1"
|
2021-12-06 18:47:02 +00:00
|
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = [
|
2021-10-14 06:37:57 +00:00
|
|
|
"env-filter",
|
|
|
|
"registry",
|
|
|
|
"fmt",
|
|
|
|
"tracing-log",
|
|
|
|
] }
|
2021-08-15 12:46:13 +00:00
|
|
|
tracing-log = "0.1.2"
|
2021-12-06 18:47:02 +00:00
|
|
|
tracing-tree = "0.2"
|
2021-01-26 19:11:12 +00:00
|
|
|
always-assert = "0.1"
|
2021-08-22 10:32:00 +00:00
|
|
|
|
2020-08-24 15:27:13 +00: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 14:30:39 +00:00
|
|
|
ide_db = { path = "../ide_db", version = "0.0.0" }
|
2020-08-24 15:27:13 +00:00
|
|
|
profile = { path = "../profile", version = "0.0.0" }
|
|
|
|
project_model = { path = "../project_model", version = "0.0.0" }
|
|
|
|
syntax = { path = "../syntax", 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" }
|
2021-08-22 11:05:12 +00:00
|
|
|
tt = { path = "../tt", version = "0.0.0" }
|
2021-08-22 10:32:00 +00:00
|
|
|
proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" }
|
2018-09-01 17:21:11 +00:00
|
|
|
|
2020-02-17 18:03:03 +00:00
|
|
|
# This should only be used in CLI
|
2021-02-22 19:14:58 +00:00
|
|
|
ide_ssr = { path = "../ide_ssr", version = "0.0.0" }
|
2020-08-24 15:27:13 +00: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 18:03:03 +00:00
|
|
|
|
2020-01-26 11:02:56 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2020-02-18 13:57:41 +00:00
|
|
|
winapi = "0.3.8"
|
2020-01-26 11:02:56 +00:00
|
|
|
|
2021-01-18 18:25:55 +00:00
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
2021-05-07 19:41:07 +00:00
|
|
|
jemallocator = { version = "0.4.1", package = "tikv-jemallocator", optional = true }
|
2021-01-18 18:25:55 +00:00
|
|
|
|
2018-09-01 17:21:11 +00:00
|
|
|
[dev-dependencies]
|
2021-10-09 14:17:16 +00:00
|
|
|
expect-test = "1.2.0-pre.1"
|
2021-12-05 11:54:35 +00:00
|
|
|
jod-thread = "0.1.0"
|
2021-07-04 09:42:35 +00:00
|
|
|
xshell = "0.1"
|
2021-07-03 19:11:03 +00:00
|
|
|
|
2018-10-31 18:37:32 +00:00
|
|
|
test_utils = { path = "../test_utils" }
|
2021-07-03 19:11:03 +00:00
|
|
|
sourcegen = { path = "../sourcegen" }
|
2020-08-13 08:08:11 +00:00
|
|
|
mbe = { path = "../mbe" }
|
2021-01-18 18:25:55 +00:00
|
|
|
|
|
|
|
[features]
|
2021-05-07 19:41:07 +00:00
|
|
|
jemalloc = ["jemallocator", "profile/jemalloc"]
|
2021-01-26 19:11:12 +00:00
|
|
|
force-always-assert = ["always-assert/force"]
|