rust/crates/rust-analyzer/Cargo.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

93 lines
2.3 KiB
TOML
Raw Normal View History

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"
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 10:56:18 +00:00
autobins = false
authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
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"
path = "src/bin/main.rs"
2020-02-18 10:56:18 +00:00
2018-08-10 12:07:43 +00:00
[dependencies]
anyhow = "1.0.62"
2022-07-02 19:27:24 +00:00
crossbeam-channel = "0.5.5"
2022-06-10 14:30:09 +00:00
dissimilar = "1.0.4"
itertools = "0.10.5"
2022-06-11 01:29:04 +00:00
scip = "0.1.1"
2022-10-25 12:03:35 +00:00
lsp-types = { version = "=0.93.2", features = ["proposed"] }
2022-06-10 14:30:09 +00:00
parking_lot = "0.12.1"
xflags = "0.3.0"
2022-03-22 16:36:41 +00:00
oorandom = "11.1.3"
2020-02-18 13:57:41 +00:00
rustc-hash = "1.1.0"
2022-06-10 14:30:09 +00:00
serde = { version = "1.0.137", features = ["derive"] }
serde_json = { version = "1.0.81", features = ["preserve_order"] }
2022-03-22 16:36:41 +00:00
threadpool = "1.8.1"
2022-06-10 14:30:09 +00:00
rayon = "1.5.3"
2022-01-14 09:48:59 +00:00
num_cpus = "1.13.1"
2022-10-15 09:59:56 +00:00
mimalloc = { version = "0.1.30", default-features = false, optional = true }
lsp-server = { version = "0.7.0", path = "../../lib/lsp-server" }
2022-06-10 14:30:09 +00:00
tracing = "0.1.35"
2022-10-08 18:30:04 +00:00
tracing-subscriber = { version = "0.3.16", default-features = false, features = [
2021-10-14 06:37:57 +00:00
"env-filter",
"registry",
"fmt",
"tracing-log",
] }
2022-06-10 14:30:09 +00:00
tracing-log = "0.1.3"
tracing-tree = "0.2.1"
2022-03-22 16:36:41 +00:00
always-assert = "0.1.2"
cfg.workspace = true
flycheck.workspace = true
hir-def.workspace = true
hir-ty.workspace = true
hir.workspace = true
ide-db.workspace = true
2020-02-17 18:03:03 +00:00
# This should only be used in CLI
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 18:03:03 +00:00
2020-01-26 11:02:56 +00:00
[target.'cfg(windows)'.dependencies]
2022-03-22 16:36:41 +00:00
winapi = "0.3.9"
2020-01-26 11:02:56 +00:00
2021-01-18 18:25:55 +00:00
[target.'cfg(not(target_env = "msvc"))'.dependencies]
2022-06-10 14:30:09 +00:00
jemallocator = { version = "0.5.0", package = "tikv-jemallocator", optional = true }
2021-01-18 18:25:55 +00:00
2018-09-01 17:21:11 +00:00
[dev-dependencies]
expect-test = "1.4.0"
2022-03-22 16:36:41 +00:00
jod-thread = "0.1.2"
2022-06-10 14:30:09 +00:00
xshell = "0.2.2"
test-utils.workspace = true
sourcegen.workspace = true
mbe.workspace = true
2021-01-18 18:25:55 +00:00
[features]
jemalloc = ["jemallocator", "profile/jemalloc"]
2021-01-26 19:11:12 +00:00
force-always-assert = ["always-assert/force"]
in-rust-tree = [
"proc-macro-srv/sysroot-abi",
"ide/in-rust-tree",
2022-08-23 12:00:29 +00:00
"syntax/in-rust-tree",
]