2018-08-10 07:07:43 -05:00
|
|
|
[package]
|
2020-02-18 05:33:16 -06:00
|
|
|
name = "rust-analyzer"
|
2020-08-13 10:42:52 -05:00
|
|
|
version = "0.0.0"
|
2021-07-19 07:39:49 -05: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 10:42:52 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-02-18 04:56:18 -06:00
|
|
|
autobins = false
|
2021-10-21 10:49:28 -05:00
|
|
|
edition = "2021"
|
2021-12-15 14:49:48 -06:00
|
|
|
rust-version = "1.57"
|
2018-08-10 07:07:43 -05:00
|
|
|
|
2019-11-17 09:35:05 -06:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2020-02-18 04:56:18 -06:00
|
|
|
[[bin]]
|
2020-02-18 05:33:16 -06:00
|
|
|
name = "rust-analyzer"
|
2020-06-03 20:01:24 -05:00
|
|
|
path = "src/bin/main.rs"
|
2020-02-18 04:56:18 -06:00
|
|
|
|
2018-08-10 07:07:43 -05:00
|
|
|
[dependencies]
|
2022-03-22 11:36:41 -05:00
|
|
|
anyhow = "1.0.56"
|
|
|
|
crossbeam-channel = "0.5.4"
|
|
|
|
dissimilar = "1.0.3"
|
|
|
|
itertools = "0.10.3"
|
|
|
|
lsp-types = { version = "0.92.1", features = ["proposed"] }
|
|
|
|
parking_lot = "0.12.0"
|
|
|
|
xflags = "0.2.4"
|
|
|
|
oorandom = "11.1.3"
|
2020-02-18 07:57:41 -06:00
|
|
|
rustc-hash = "1.1.0"
|
2022-03-22 11:36:41 -05:00
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
|
|
|
threadpool = "1.8.1"
|
|
|
|
rayon = "1.5.1"
|
2022-01-14 03:48:59 -06:00
|
|
|
num_cpus = "1.13.1"
|
2022-03-22 11:36:41 -05:00
|
|
|
mimalloc = { version = "0.1.28", default-features = false, optional = true }
|
2022-04-08 17:13:47 -05:00
|
|
|
lsp-server = "0.6.0"
|
2022-03-22 11:36:41 -05:00
|
|
|
tracing = "0.1.32"
|
|
|
|
tracing-subscriber = { version = "0.3.9", default-features = false, features = [
|
2021-10-14 01:37:57 -05:00
|
|
|
"env-filter",
|
|
|
|
"registry",
|
|
|
|
"fmt",
|
|
|
|
"tracing-log",
|
|
|
|
] }
|
2021-08-15 07:46:13 -05:00
|
|
|
tracing-log = "0.1.2"
|
2022-03-22 11:36:41 -05:00
|
|
|
tracing-tree = "0.2.0"
|
|
|
|
always-assert = "0.1.2"
|
2021-08-22 05:32:00 -05:00
|
|
|
|
2020-08-24 10:27:13 -05: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 08:30:39 -06:00
|
|
|
ide_db = { path = "../ide_db", version = "0.0.0" }
|
2020-08-24 10:27:13 -05: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 06:05:12 -05:00
|
|
|
tt = { path = "../tt", version = "0.0.0" }
|
2021-08-22 05:32:00 -05:00
|
|
|
proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" }
|
2018-09-01 12:21:11 -05:00
|
|
|
|
2020-02-17 12:03:03 -06:00
|
|
|
# This should only be used in CLI
|
2021-02-22 13:14:58 -06:00
|
|
|
ide_ssr = { path = "../ide_ssr", version = "0.0.0" }
|
2020-08-24 10:27:13 -05: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 12:03:03 -06:00
|
|
|
|
2020-01-26 05:02:56 -06:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-03-22 11:36:41 -05:00
|
|
|
winapi = "0.3.9"
|
2020-01-26 05:02:56 -06:00
|
|
|
|
2021-01-18 12:25:55 -06:00
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
2022-03-22 11:36:41 -05:00
|
|
|
jemallocator = { version = "0.4.3", package = "tikv-jemallocator", optional = true }
|
2021-01-18 12:25:55 -06:00
|
|
|
|
2018-09-01 12:21:11 -05:00
|
|
|
[dev-dependencies]
|
2022-03-22 11:36:41 -05:00
|
|
|
expect-test = "1.2.2"
|
|
|
|
jod-thread = "0.1.2"
|
2022-03-17 01:53:33 -05:00
|
|
|
xshell = "0.2.1"
|
2021-07-03 14:11:03 -05:00
|
|
|
|
2018-10-31 13:37:32 -05:00
|
|
|
test_utils = { path = "../test_utils" }
|
2021-07-03 14:11:03 -05:00
|
|
|
sourcegen = { path = "../sourcegen" }
|
2020-08-13 03:08:11 -05:00
|
|
|
mbe = { path = "../mbe" }
|
2021-01-18 12:25:55 -06:00
|
|
|
|
|
|
|
[features]
|
2021-05-07 14:41:07 -05:00
|
|
|
jemalloc = ["jemallocator", "profile/jemalloc"]
|
2021-01-26 13:11:12 -06:00
|
|
|
force-always-assert = ["always-assert/force"]
|