2018-08-10 07:07:43 -05:00
|
|
|
[package]
|
2018-10-15 12:15:53 -05:00
|
|
|
edition = "2018"
|
2020-02-18 05:33:16 -06:00
|
|
|
name = "rust-analyzer"
|
2018-08-10 07:07:43 -05:00
|
|
|
version = "0.1.0"
|
2019-02-11 02:20:04 -06:00
|
|
|
authors = ["rust-analyzer developers"]
|
2020-02-18 04:56:18 -06:00
|
|
|
autobins = false
|
2020-07-13 20:57:26 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
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]
|
2020-02-18 07:57:41 -06:00
|
|
|
anyhow = "1.0.26"
|
|
|
|
crossbeam-channel = "0.4.0"
|
2020-02-17 10:41:53 -06:00
|
|
|
env_logger = { version = "0.7.1", default-features = false }
|
2020-03-23 18:22:46 -05:00
|
|
|
itertools = "0.9.0"
|
2020-02-17 10:41:53 -06:00
|
|
|
jod-thread = "0.1.0"
|
2020-02-18 07:57:41 -06:00
|
|
|
log = "0.4.8"
|
2020-07-15 17:17:46 -05:00
|
|
|
lsp-types = { version = "0.77.0", features = ["proposed"] }
|
2020-06-27 02:09:47 -05:00
|
|
|
parking_lot = "0.11.0"
|
2020-02-18 07:57:41 -06:00
|
|
|
pico-args = "0.3.1"
|
|
|
|
rand = { version = "0.7.3", features = ["small_rng"] }
|
|
|
|
rustc-hash = "1.1.0"
|
2020-05-01 07:29:03 -05:00
|
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
2020-02-18 07:57:41 -06:00
|
|
|
serde_json = "1.0.48"
|
2020-02-17 10:41:53 -06:00
|
|
|
threadpool = "1.7.1"
|
2020-06-30 10:00:17 -05:00
|
|
|
rayon = "1.3.1"
|
2020-02-17 10:41:53 -06:00
|
|
|
|
2020-03-28 05:08:19 -05:00
|
|
|
stdx = { path = "../stdx" }
|
|
|
|
|
2020-06-20 16:08:01 -05:00
|
|
|
lsp-server = "0.3.3"
|
2020-06-25 02:13:46 -05:00
|
|
|
flycheck = { path = "../flycheck" }
|
2020-02-17 10:41:53 -06:00
|
|
|
ra_ide = { path = "../ra_ide" }
|
2019-04-02 09:52:04 -05:00
|
|
|
ra_prof = { path = "../ra_prof" }
|
2020-02-17 10:41:53 -06:00
|
|
|
ra_project_model = { path = "../ra_project_model" }
|
|
|
|
ra_syntax = { path = "../ra_syntax" }
|
|
|
|
ra_text_edit = { path = "../ra_text_edit" }
|
2020-06-11 04:04:09 -05:00
|
|
|
vfs = { path = "../vfs" }
|
|
|
|
vfs-notify = { path = "../vfs-notify" }
|
2020-05-23 13:59:18 -05:00
|
|
|
ra_cfg = { path = "../ra_cfg"}
|
2020-06-26 18:28:06 -05:00
|
|
|
ra_toolchain = { path = "../ra_toolchain" }
|
2018-09-01 12:21:11 -05:00
|
|
|
|
2020-02-17 12:03:03 -06:00
|
|
|
# This should only be used in CLI
|
|
|
|
ra_db = { path = "../ra_db" }
|
2020-06-29 18:31:45 -05:00
|
|
|
ra_ide_db = { path = "../ra_ide_db" }
|
|
|
|
ra_ssr = { path = "../ra_ssr" }
|
2020-02-17 12:03:03 -06:00
|
|
|
hir = { path = "../ra_hir", package = "ra_hir" }
|
|
|
|
hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
|
|
|
|
hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
|
2020-04-16 08:13:57 -05:00
|
|
|
ra_proc_macro_srv = { path = "../ra_proc_macro_srv" }
|
2020-02-17 12:03:03 -06:00
|
|
|
|
2020-01-26 05:02:56 -06:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2020-02-18 07:57:41 -06:00
|
|
|
winapi = "0.3.8"
|
2020-01-26 05:02:56 -06:00
|
|
|
|
2018-09-01 12:21:11 -05:00
|
|
|
[dev-dependencies]
|
2020-02-18 07:57:41 -06:00
|
|
|
tempfile = "3.1.0"
|
2020-07-09 08:34:37 -05:00
|
|
|
expect = { path = "../expect" }
|
2018-10-31 13:37:32 -05:00
|
|
|
test_utils = { path = "../test_utils" }
|
2020-05-23 13:59:18 -05:00
|
|
|
mbe = { path = "../ra_mbe", package = "ra_mbe" }
|
|
|
|
tt = { path = "../ra_tt", package = "ra_tt" }
|
2019-01-28 06:52:21 -06:00
|
|
|
|
|
|
|
[features]
|
2019-06-30 05:30:17 -05:00
|
|
|
jemalloc = [ "ra_prof/jemalloc" ]
|
2020-07-13 19:12:49 -05:00
|
|
|
mimalloc = [ "ra_prof/mimalloc" ]
|