rust/crates/rust-analyzer/Cargo.toml

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

98 lines
2.3 KiB
TOML
Raw Normal View History

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"
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"
path = "src/bin/main.rs"
2020-02-18 04:56:18 -06:00
2018-08-10 07:07:43 -05:00
[dependencies]
anyhow.workspace = true
2022-07-02 14:27:24 -05:00
crossbeam-channel = "0.5.5"
dissimilar.workspace = true
itertools.workspace = true
scip = "0.3.3"
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"
rayon.workspace = true
rustc-hash.workspace = true
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 }
lsp-server.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
tracing-tree.workspace = true
triomphe.workspace = true
nohash-hasher.workspace = true
always-assert = "0.2.0"
walkdir = "2.3.2"
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
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
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
parser.workspace = true
2023-02-13 05:55:14 -06:00
toolchain.workspace = true
vfs-notify.workspace = true
vfs.workspace = true
memchr = "2.7.1"
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]
expect-test = "1.4.0"
xshell.workspace = true
2023-02-13 05:55:14 -06:00
test-utils.workspace = true
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]
jemalloc = ["jemallocator", "profile/jemalloc"]
2021-01-26 13:11:12 -06:00
force-always-assert = ["always-assert/force"]
sysroot-abi = []
in-rust-tree = [
"sysroot-abi",
"ide/in-rust-tree",
"syntax/in-rust-tree",
"parser/in-rust-tree",
2023-11-13 12:54:53 -06:00
"hir/in-rust-tree",
"hir-def/in-rust-tree",
"hir-ty/in-rust-tree",
]
[lints]
workspace = true