874a5f80c7
There are two reasons why we don't want a generic ra_progress crate just yet: *First*, it introduces a common interface between separate components, and that is usually undesirable (b/c components start to fit the interface, rather than doing what makes most sense for each particular component). *Second*, it introduces a separate async channel for progress, which makes it harder to correlate progress reports with the work done. Ie, when we see 100% progress, it's not blindly obvious that the work has actually finished, we might have some pending messages still.
64 lines
1.6 KiB
TOML
64 lines
1.6 KiB
TOML
[package]
|
|
edition = "2018"
|
|
name = "rust-analyzer"
|
|
version = "0.1.0"
|
|
authors = ["rust-analyzer developers"]
|
|
autobins = false
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "rust-analyzer"
|
|
path = "src/bin/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.26"
|
|
crossbeam-channel = "0.4.0"
|
|
env_logger = { version = "0.7.1", default-features = false }
|
|
globset = "0.4.4"
|
|
itertools = "0.9.0"
|
|
jod-thread = "0.1.0"
|
|
log = "0.4.8"
|
|
lsp-types = { version = "0.74.0", features = ["proposed"] }
|
|
parking_lot = "0.10.0"
|
|
pico-args = "0.3.1"
|
|
rand = { version = "0.7.3", features = ["small_rng"] }
|
|
rustc-hash = "1.1.0"
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
|
serde_json = "1.0.48"
|
|
threadpool = "1.7.1"
|
|
|
|
stdx = { path = "../stdx" }
|
|
|
|
lsp-server = "0.3.3"
|
|
ra_flycheck = { path = "../ra_flycheck" }
|
|
ra_ide = { path = "../ra_ide" }
|
|
ra_prof = { path = "../ra_prof" }
|
|
ra_project_model = { path = "../ra_project_model" }
|
|
ra_syntax = { path = "../ra_syntax" }
|
|
ra_text_edit = { path = "../ra_text_edit" }
|
|
vfs = { path = "../vfs" }
|
|
vfs-notify = { path = "../vfs-notify" }
|
|
ra_cfg = { path = "../ra_cfg"}
|
|
|
|
# This should only be used in CLI
|
|
ra_db = { path = "../ra_db" }
|
|
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" }
|
|
ra_proc_macro_srv = { path = "../ra_proc_macro_srv" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "0.3.8"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|
|
insta = "0.16.0"
|
|
test_utils = { path = "../test_utils" }
|
|
mbe = { path = "../ra_mbe", package = "ra_mbe" }
|
|
tt = { path = "../ra_tt", package = "ra_tt" }
|
|
|
|
[features]
|
|
jemalloc = [ "ra_prof/jemalloc" ]
|