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
|
|
|
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-02-18 04:56:18 -06:00
|
|
|
autobins = false
|
2023-02-13 05:55:14 -06:00
|
|
|
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
rust-version.workspace = true
|
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]
|
2023-11-15 04:49:32 -06:00
|
|
|
anyhow.workspace = true
|
2022-07-02 14:27:24 -05:00
|
|
|
crossbeam-channel = "0.5.5"
|
2023-11-15 05:34:56 -06:00
|
|
|
dissimilar.workspace = true
|
2023-11-15 04:53:56 -06:00
|
|
|
itertools.workspace = true
|
2023-11-08 00:15:03 -06:00
|
|
|
scip = "0.3.1"
|
2023-12-22 04:27:38 -06:00
|
|
|
lsp-types = { version = "=0.95.0", features = ["proposed"] }
|
2022-06-10 09:30:09 -05:00
|
|
|
parking_lot = "0.12.1"
|
2022-10-11 02:37:35 -05:00
|
|
|
xflags = "0.3.0"
|
2022-03-22 11:36:41 -05:00
|
|
|
oorandom = "11.1.3"
|
2023-11-15 13:14:56 -06:00
|
|
|
rayon.workspace = true
|
2023-12-18 07:53:11 -06:00
|
|
|
rustc-hash.workspace = true
|
2023-06-05 04:04:23 -05:00
|
|
|
serde_json = { workspace = true, features = ["preserve_order"] }
|
|
|
|
serde.workspace = true
|
2023-02-13 05:55:14 -06:00
|
|
|
num_cpus = "1.15.0"
|
2022-10-18 01:12:49 -05:00
|
|
|
mimalloc = { version = "0.1.30", default-features = false, optional = true }
|
2023-07-17 08:49:15 -05:00
|
|
|
lsp-server.workspace = true
|
2023-11-15 05:00:32 -06:00
|
|
|
tracing.workspace = true
|
2023-11-15 05:04:39 -06:00
|
|
|
tracing-subscriber.workspace = true
|
2023-11-15 05:25:19 -06:00
|
|
|
tracing-log = "0.2.0"
|
2023-11-15 05:01:54 -06:00
|
|
|
tracing-tree.workspace = true
|
2023-06-05 04:04:23 -05:00
|
|
|
triomphe.workspace = true
|
|
|
|
nohash-hasher.workspace = true
|
2022-03-22 11:36:41 -05:00
|
|
|
always-assert = "0.1.2"
|
2023-12-14 16:40:25 -06:00
|
|
|
walkdir = "2.3.2"
|
2021-08-22 05:32:00 -05:00
|
|
|
|
2023-02-13 05:55:14 -06:00
|
|
|
cfg.workspace = true
|
|
|
|
flycheck.workspace = true
|
|
|
|
hir-def.workspace = true
|
|
|
|
hir-ty.workspace = true
|
|
|
|
hir.workspace = true
|
2023-11-08 00:15:03 -06:00
|
|
|
rustc-dependencies.workspace = true
|
2023-02-13 05:55:14 -06:00
|
|
|
ide-db.workspace = true
|
2020-02-17 12:03:03 -06:00
|
|
|
# This should only be used in CLI
|
2023-02-13 05:55:14 -06:00
|
|
|
ide-ssr.workspace = true
|
|
|
|
ide.workspace = true
|
2023-07-17 08:49:15 -05:00
|
|
|
load-cargo.workspace = true
|
2023-02-13 05:55:14 -06:00
|
|
|
proc-macro-api.workspace = true
|
|
|
|
profile.workspace = true
|
|
|
|
project-model.workspace = true
|
|
|
|
stdx.workspace = true
|
|
|
|
syntax.workspace = true
|
2023-11-08 00:15:03 -06:00
|
|
|
parser.workspace = true
|
2023-02-13 05:55:14 -06:00
|
|
|
toolchain.workspace = true
|
|
|
|
vfs-notify.workspace = true
|
|
|
|
vfs.workspace = true
|
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-06-10 09:30:09 -05:00
|
|
|
jemallocator = { version = "0.5.0", package = "tikv-jemallocator", optional = true }
|
2021-01-18 12:25:55 -06:00
|
|
|
|
2018-09-01 12:21:11 -05:00
|
|
|
[dev-dependencies]
|
2022-07-19 06:00:45 -05:00
|
|
|
expect-test = "1.4.0"
|
2023-11-15 13:12:18 -06:00
|
|
|
xshell.workspace = true
|
2021-07-03 14:11:03 -05:00
|
|
|
|
2023-02-13 05:55:14 -06:00
|
|
|
test-utils.workspace = true
|
2023-12-18 07:53:11 -06:00
|
|
|
test-fixture.workspace = true
|
2023-02-13 05:55:14 -06:00
|
|
|
sourcegen.workspace = true
|
|
|
|
mbe.workspace = true
|
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"]
|
2023-06-19 01:14:04 -05:00
|
|
|
sysroot-abi = []
|
2023-11-08 00:15:03 -06:00
|
|
|
in-rust-tree = [
|
|
|
|
"sysroot-abi",
|
|
|
|
"ide/in-rust-tree",
|
|
|
|
"syntax/in-rust-tree",
|
|
|
|
"parser/in-rust-tree",
|
|
|
|
"rustc-dependencies/in-rust-tree",
|
2023-11-13 12:54:53 -06:00
|
|
|
"hir/in-rust-tree",
|
2023-11-08 00:15:03 -06:00
|
|
|
"hir-def/in-rust-tree",
|
|
|
|
"hir-ty/in-rust-tree",
|
|
|
|
]
|