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-01-16 09:41:47 -06:00
|
|
|
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
2023-01-16 09:33:01 -06:00
|
|
|
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]
|
2022-10-03 01:02:42 -05:00
|
|
|
anyhow = "1.0.62"
|
2022-07-02 14:27:24 -05:00
|
|
|
crossbeam-channel = "0.5.5"
|
2022-06-10 09:30:09 -05:00
|
|
|
dissimilar = "1.0.4"
|
2022-10-03 01:02:42 -05:00
|
|
|
itertools = "0.10.5"
|
2022-06-10 20:29:04 -05:00
|
|
|
scip = "0.1.1"
|
2023-02-14 07:59:50 -06:00
|
|
|
lsp-types = { version = "=0.94", features = ["proposed"] }
|
2022-06-10 09:30:09 -05:00
|
|
|
parking_lot = "0.12.1"
|
2022-10-08 09:35:07 -05:00
|
|
|
xflags = "0.3.0"
|
2022-03-22 11:36:41 -05:00
|
|
|
oorandom = "11.1.3"
|
2020-02-18 07:57:41 -06:00
|
|
|
rustc-hash = "1.1.0"
|
2023-03-25 08:43:08 -05:00
|
|
|
serde_json = { workspace = true, features = ["preserve_order"] }
|
|
|
|
serde.workspace = true
|
2022-03-22 11:36:41 -05:00
|
|
|
threadpool = "1.8.1"
|
2023-01-21 01:54:19 -06:00
|
|
|
rayon = "1.6.1"
|
2023-01-21 00:49:50 -06:00
|
|
|
num_cpus = "1.15.0"
|
2022-10-15 04:59:56 -05:00
|
|
|
mimalloc = { version = "0.1.30", default-features = false, optional = true }
|
2022-09-07 06:52:55 -05:00
|
|
|
lsp-server = { version = "0.7.0", path = "../../lib/lsp-server" }
|
2022-06-10 09:30:09 -05:00
|
|
|
tracing = "0.1.35"
|
2022-10-08 13:30:04 -05:00
|
|
|
tracing-subscriber = { version = "0.3.16", default-features = false, features = [
|
2021-10-14 01:37:57 -05:00
|
|
|
"env-filter",
|
|
|
|
"registry",
|
|
|
|
"fmt",
|
|
|
|
"tracing-log",
|
|
|
|
] }
|
2022-06-10 09:30:09 -05:00
|
|
|
tracing-log = "0.1.3"
|
|
|
|
tracing-tree = "0.2.1"
|
2022-03-22 11:36:41 -05:00
|
|
|
always-assert = "0.1.2"
|
2021-08-22 05:32:00 -05:00
|
|
|
|
2023-03-25 08:43:08 -05:00
|
|
|
# These dependencies are unused, but we pin them to a version here to restrict them for our transitive dependencies
|
|
|
|
# so that we don't pull in duplicates of their depdendenceies like windows-sys and syn 1 vs 2
|
|
|
|
# these would pull in serde 2
|
|
|
|
thiserror = "=1.0.39"
|
|
|
|
serde_repr = "=0.1.11"
|
|
|
|
# these would pull in windows-sys 0.45.0
|
|
|
|
mio = "=0.8.5"
|
|
|
|
filetime = "=0.2.19"
|
|
|
|
parking_lot_core = "=0.9.6"
|
|
|
|
|
2023-01-17 03:52:26 -06:00
|
|
|
cfg.workspace = true
|
|
|
|
flycheck.workspace = true
|
|
|
|
hir-def.workspace = true
|
|
|
|
hir-ty.workspace = true
|
|
|
|
hir.workspace = true
|
|
|
|
ide-db.workspace = true
|
2020-02-17 12:03:03 -06:00
|
|
|
# This should only be used in CLI
|
2023-01-17 03:52:26 -06:00
|
|
|
ide-ssr.workspace = true
|
|
|
|
ide.workspace = true
|
|
|
|
proc-macro-api.workspace = true
|
|
|
|
proc-macro-srv.workspace = true
|
|
|
|
profile.workspace = true
|
|
|
|
project-model.workspace = true
|
|
|
|
stdx.workspace = true
|
|
|
|
syntax.workspace = true
|
|
|
|
toolchain.workspace = true
|
|
|
|
tt.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"
|
2022-03-22 11:36:41 -05:00
|
|
|
jod-thread = "0.1.2"
|
2022-06-10 09:30:09 -05:00
|
|
|
xshell = "0.2.2"
|
2021-07-03 14:11:03 -05:00
|
|
|
|
2023-01-17 03:52:26 -06:00
|
|
|
test-utils.workspace = true
|
|
|
|
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"]
|
2022-07-22 19:06:11 -05:00
|
|
|
in-rust-tree = [
|
|
|
|
"proc-macro-srv/sysroot-abi",
|
|
|
|
"ide/in-rust-tree",
|
2022-08-23 07:00:29 -05:00
|
|
|
"syntax/in-rust-tree",
|
2022-07-22 19:06:11 -05:00
|
|
|
]
|