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