Skip to content

Commit b910189

Browse files
committed
Auto merge of rust-lang#15205 - Veykril:load-cargo, r=Veykril
Split out project loading capabilities from rust-analyzer crate External tools currently depend on the entire lsp infra for no good reason so let's lift that out so those tools have something better to depend on
2 parents 2d83bc5 + 28fcd1b commit b910189

16 files changed

+518
-504
lines changed

Cargo.lock

+18-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ ide-diagnostics = { path = "./crates/ide-diagnostics", version = "0.0.0" }
6161
ide-ssr = { path = "./crates/ide-ssr", version = "0.0.0" }
6262
intern = { path = "./crates/intern", version = "0.0.0" }
6363
limit = { path = "./crates/limit", version = "0.0.0" }
64+
load-cargo = { path = "./crates/load-cargo", version = "0.0.0" }
6465
mbe = { path = "./crates/mbe", version = "0.0.0" }
6566
parser = { path = "./crates/parser", version = "0.0.0" }
6667
paths = { path = "./crates/paths", version = "0.0.0" }

crates/load-cargo/Cargo.toml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "load-cargo"
3+
version = "0.0.0"
4+
rust-version.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
authors.workspace = true
8+
9+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
10+
11+
[dependencies]
12+
anyhow = "1.0.62"
13+
crossbeam-channel = "0.5.5"
14+
itertools = "0.10.5"
15+
tracing = "0.1.35"
16+
17+
ide.workspace = true
18+
ide-db.workspace =true
19+
proc-macro-api.workspace = true
20+
project-model.workspace = true
21+
tt.workspace = true
22+
vfs.workspace = true
23+
vfs-notify.workspace = true

0 commit comments

Comments
 (0)