mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Use workspace.dependencies to declare local dependencies
This commit is contained in:
parent
f932d39945
commit
bed4db3c62
27 changed files with 240 additions and 168 deletions
36
Cargo.toml
36
Cargo.toml
|
@ -32,3 +32,39 @@ debug = 0
|
||||||
# ungrammar = { path = "../ungrammar" }
|
# ungrammar = { path = "../ungrammar" }
|
||||||
|
|
||||||
# salsa = { path = "../salsa" }
|
# salsa = { path = "../salsa" }
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
|
# local crates
|
||||||
|
base-db = { path = "./crates/base-db", version = "0.0.0" }
|
||||||
|
cfg = { path = "./crates/cfg", version = "0.0.0" }
|
||||||
|
flycheck = { path = "./crates/flycheck", version = "0.0.0" }
|
||||||
|
hir = { path = "./crates/hir", version = "0.0.0" }
|
||||||
|
hir-def = { path = "./crates/hir-def", version = "0.0.0" }
|
||||||
|
hir-expand = { path = "./crates/hir-expand", version = "0.0.0" }
|
||||||
|
hir-ty = { path = "./crates/hir-ty", version = "0.0.0" }
|
||||||
|
ide = { path = "./crates/ide", version = "0.0.0" }
|
||||||
|
ide-assists = { path = "./crates/ide-assists", version = "0.0.0" }
|
||||||
|
ide-completion = { path = "./crates/ide-completion", version = "0.0.0" }
|
||||||
|
ide-db = { path = "./crates/ide-db", version = "0.0.0" }
|
||||||
|
ide-diagnostics = { path = "./crates/ide-diagnostics", version = "0.0.0" }
|
||||||
|
ide-ssr = { path = "./crates/ide-ssr", version = "0.0.0" }
|
||||||
|
intern = { path = "./crates/intern", version = "0.0.0" }
|
||||||
|
limit = { path = "./crates/limit", version = "0.0.0" }
|
||||||
|
mbe = { path = "./crates/mbe", version = "0.0.0" }
|
||||||
|
parser = { path = "./crates/parser", version = "0.0.0" }
|
||||||
|
paths = { path = "./crates/paths", version = "0.0.0" }
|
||||||
|
proc-macro-api = { path = "./crates/proc-macro-api", version = "0.0.0" }
|
||||||
|
proc-macro-srv = { path = "./crates/proc-macro-srv", version = "0.0.0" }
|
||||||
|
proc-macro-srv-cli = { path = "./crates/proc-macro-srv-cli", version = "0.0.0" }
|
||||||
|
proc-macro-test = { path = "./crates/proc-macro-test", version = "0.0.0" }
|
||||||
|
profile = { path = "./crates/profile", version = "0.0.0" }
|
||||||
|
project-model = { path = "./crates/project-model", version = "0.0.0" }
|
||||||
|
sourcegen = { path = "./crates/sourcegen", version = "0.0.0" }
|
||||||
|
stdx = { path = "./crates/stdx", version = "0.0.0" }
|
||||||
|
syntax = { path = "./crates/syntax", version = "0.0.0" }
|
||||||
|
test-utils = { path = "./crates/test-utils", version = "0.0.0" }
|
||||||
|
text-edit = { path = "./crates/text-edit", version = "0.0.0" }
|
||||||
|
toolchain = { path = "./crates/toolchain", version = "0.0.0" }
|
||||||
|
tt = { path = "./crates/tt", version = "0.0.0" }
|
||||||
|
vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
|
||||||
|
vfs = { path = "./crates/vfs", version = "0.0.0" }
|
||||||
|
|
|
@ -13,10 +13,11 @@ doctest = false
|
||||||
salsa = "0.17.0-pre.2"
|
salsa = "0.17.0-pre.2"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
|
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
# local deps
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
profile.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
test-utils = { path = "../test-utils", version = "0.0.0" }
|
test-utils.workspace = true
|
||||||
vfs = { path = "../vfs", version = "0.0.0" }
|
tt.workspace = true
|
||||||
|
vfs.workspace = true
|
||||||
|
|
|
@ -12,11 +12,10 @@ doctest = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
|
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
# locals deps
|
||||||
|
tt.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
mbe = { path = "../mbe" }
|
|
||||||
syntax = { path = "../syntax" }
|
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
oorandom = "11.1.3"
|
oorandom = "11.1.3"
|
||||||
# We depend on both individually instead of using `features = ["derive"]` to microoptimize the
|
# We depend on both individually instead of using `features = ["derive"]` to microoptimize the
|
||||||
|
@ -24,3 +23,7 @@ oorandom = "11.1.3"
|
||||||
# supports `arbitrary`. This way, we avoid feature unification.
|
# supports `arbitrary`. This way, we avoid feature unification.
|
||||||
arbitrary = "1.1.7"
|
arbitrary = "1.1.7"
|
||||||
derive_arbitrary = "1.1.6"
|
derive_arbitrary = "1.1.6"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
mbe.workspace = true
|
||||||
|
syntax.workspace = true
|
||||||
|
|
|
@ -19,6 +19,7 @@ serde_json = "1.0.86"
|
||||||
jod-thread = "0.1.2"
|
jod-thread = "0.1.2"
|
||||||
command-group = "2.0.1"
|
command-group = "2.0.1"
|
||||||
|
|
||||||
toolchain = { path = "../toolchain", version = "0.0.0" }
|
# local deps
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
paths.workspace = true
|
||||||
paths = { path = "../paths", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
|
toolchain.workspace = true
|
||||||
|
|
|
@ -28,19 +28,23 @@ rustc-hash = "1.1.0"
|
||||||
smallvec = "1.10.0"
|
smallvec = "1.10.0"
|
||||||
tracing = "0.1.35"
|
tracing = "0.1.35"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
|
||||||
intern = { path = "../intern", version = "0.0.0" }
|
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
|
||||||
hir-expand = { path = "../hir-expand", version = "0.0.0" }
|
|
||||||
rustc_abi = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_abi", default-features = false }
|
rustc_abi = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_abi", default-features = false }
|
||||||
rustc_index = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_index", default-features = false }
|
rustc_index = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_index", default-features = false }
|
||||||
mbe = { path = "../mbe", version = "0.0.0" }
|
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
# local deps
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
limit = { path = "../limit", version = "0.0.0" }
|
intern.workspace = true
|
||||||
|
base-db.workspace = true
|
||||||
|
syntax.workspace = true
|
||||||
|
profile.workspace = true
|
||||||
|
hir-expand.workspace = true
|
||||||
|
mbe.workspace = true
|
||||||
|
cfg.workspace = true
|
||||||
|
tt.workspace = true
|
||||||
|
limit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
|
|
@ -21,15 +21,16 @@ hashbrown = { version = "0.12.1", features = [
|
||||||
], default-features = false }
|
], default-features = false }
|
||||||
smallvec = { version = "1.10.0", features = ["const_new"] }
|
smallvec = { version = "1.10.0", features = ["const_new"] }
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
# local deps
|
||||||
intern = { path = "../intern", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
intern.workspace = true
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
base-db.workspace = true
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
profile.workspace = true
|
||||||
mbe = { path = "../mbe", version = "0.0.0" }
|
tt.workspace = true
|
||||||
limit = { path = "../limit", version = "0.0.0" }
|
mbe.workspace = true
|
||||||
|
limit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
|
@ -28,17 +28,17 @@ once_cell = "1.15.0"
|
||||||
typed-arena = "2.0.1"
|
typed-arena = "2.0.1"
|
||||||
rustc_index = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_index", default-features = false }
|
rustc_index = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_index", default-features = false }
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
# local deps
|
||||||
intern = { path = "../intern", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
hir-def = { path = "../hir-def", version = "0.0.0" }
|
intern.workspace = true
|
||||||
hir-expand = { path = "../hir-expand", version = "0.0.0" }
|
hir-def.workspace = true
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
hir-expand.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
base-db.workspace = true
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
profile.workspace = true
|
||||||
limit = { path = "../limit", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
|
limit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
tracing = "0.1.35"
|
tracing = "0.1.35"
|
||||||
tracing-subscriber = { version = "0.3.16", default-features = false, features = [
|
tracing-subscriber = { version = "0.3.16", default-features = false, features = [
|
||||||
|
@ -46,3 +46,6 @@ tracing-subscriber = { version = "0.3.16", default-features = false, features =
|
||||||
"registry",
|
"registry",
|
||||||
] }
|
] }
|
||||||
tracing-tree = "0.2.1"
|
tracing-tree = "0.2.1"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
|
|
@ -17,12 +17,13 @@ itertools = "0.10.5"
|
||||||
smallvec = "1.10.0"
|
smallvec = "1.10.0"
|
||||||
once_cell = "1.15.0"
|
once_cell = "1.15.0"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
# local deps
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
base-db.workspace = true
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
hir-def.workspace = true
|
||||||
hir-expand = { path = "../hir-expand", version = "0.0.0" }
|
hir-expand.workspace = true
|
||||||
hir-def = { path = "../hir-def", version = "0.0.0" }
|
hir-ty.workspace = true
|
||||||
hir-ty = { path = "../hir-ty", version = "0.0.0" }
|
profile.workspace = true
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
|
tt.workspace = true
|
||||||
|
|
|
@ -16,17 +16,20 @@ itertools = "0.10.5"
|
||||||
either = "1.7.0"
|
either = "1.7.0"
|
||||||
smallvec = "1.10.0"
|
smallvec = "1.10.0"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
# local deps
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
text-edit.workspace = true
|
||||||
ide-db = { path = "../ide-db", version = "0.0.0" }
|
profile.workspace = true
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
ide-db.workspace = true
|
||||||
|
hir.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
|
||||||
sourcegen = { path = "../sourcegen" }
|
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
sourcegen.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
in-rust-tree = []
|
in-rust-tree = []
|
||||||
|
|
|
@ -16,18 +16,20 @@ itertools = "0.10.5"
|
||||||
once_cell = "1.15.0"
|
once_cell = "1.15.0"
|
||||||
smallvec = "1.10.0"
|
smallvec = "1.10.0"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
|
||||||
ide-db = { path = "../ide-db", version = "0.0.0" }
|
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
base-db.workspace = true
|
||||||
|
ide-db.workspace = true
|
||||||
|
profile.workspace = true
|
||||||
|
stdx.workspace = true
|
||||||
|
syntax.workspace = true
|
||||||
|
text-edit.workspace = true
|
||||||
# completions crate should depend only on the top-level `hir` package. if you need
|
# completions crate should depend only on the top-level `hir` package. if you need
|
||||||
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
|
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
hir.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
test-utils = { path = "../test-utils" }
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
|
|
@ -22,19 +22,22 @@ arrayvec = "0.7.2"
|
||||||
indexmap = "1.9.1"
|
indexmap = "1.9.1"
|
||||||
memchr = "2.5.0"
|
memchr = "2.5.0"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
# local deps
|
||||||
parser = { path = "../parser", version = "0.0.0" }
|
base-db.workspace = true
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
limit.workspace = true
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
parser.workspace = true
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
profile.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
|
syntax.workspace = true
|
||||||
|
text-edit .workspace = true
|
||||||
# ide should depend only on the top-level `hir` package. if you need
|
# ide should depend only on the top-level `hir` package. if you need
|
||||||
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
|
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
hir.workspace = true
|
||||||
limit = { path = "../limit", version = "0.0.0" }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
|
||||||
sourcegen = { path = "../sourcegen" }
|
|
||||||
xshell = "0.2.2"
|
xshell = "0.2.2"
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
sourcegen.workspace = true
|
||||||
|
|
|
@ -15,19 +15,21 @@ either = "1.7.0"
|
||||||
itertools = "0.10.5"
|
itertools = "0.10.5"
|
||||||
serde_json = "1.0.86"
|
serde_json = "1.0.86"
|
||||||
|
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
# local deps
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
profile.workspace = true
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
text-edit.workspace = true
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
ide-db = { path = "../ide-db", version = "0.0.0" }
|
hir.workspace = true
|
||||||
|
ide-db.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
test-utils = { path = "../test-utils" }
|
# local deps
|
||||||
sourcegen = { path = "../sourcegen" }
|
test-utils.workspace = true
|
||||||
|
sourcegen.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
in-rust-tree = []
|
in-rust-tree = []
|
||||||
|
|
|
@ -14,13 +14,16 @@ doctest = false
|
||||||
cov-mark = "2.0.0-pre.1"
|
cov-mark = "2.0.0-pre.1"
|
||||||
itertools = "0.10.5"
|
itertools = "0.10.5"
|
||||||
|
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
# local deps
|
||||||
parser = { path = "../parser", version = "0.0.0" }
|
hir.workspace = true
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
ide-db.workspace = true
|
||||||
ide-db = { path = "../ide-db", version = "0.0.0" }
|
parser.workspace = true
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
|
text-edit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
|
|
@ -22,27 +22,29 @@ url = "2.3.1"
|
||||||
dot = "0.1.4"
|
dot = "0.1.4"
|
||||||
smallvec = "1.10.0"
|
smallvec = "1.10.0"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
# local deps
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
ide-assists.workspace = true
|
||||||
ide-db = { path = "../ide-db", version = "0.0.0" }
|
ide-completion.workspace = true
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
ide-db.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
ide-diagnostics.workspace = true
|
||||||
ide-assists = { path = "../ide-assists", version = "0.0.0" }
|
ide-ssr.workspace = true
|
||||||
ide-diagnostics = { path = "../ide-diagnostics", version = "0.0.0" }
|
profile.workspace = true
|
||||||
ide-ssr = { path = "../ide-ssr", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
ide-completion = { path = "../ide-completion", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
|
text-edit.workspace = true
|
||||||
# ide should depend only on the top-level `hir` package. if you need
|
# ide should depend only on the top-level `hir` package. if you need
|
||||||
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
|
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
hir.workspace = true
|
||||||
|
|
||||||
[target.'cfg(not(any(target_arch = "wasm32", target_os = "emscripten")))'.dependencies]
|
[target.'cfg(not(any(target_arch = "wasm32", target_os = "emscripten")))'.dependencies]
|
||||||
toolchain = { path = "../toolchain", version = "0.0.0" }
|
toolchain.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
test-utils.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
in-rust-tree = ["ide-assists/in-rust-tree", "ide-diagnostics/in-rust-tree"]
|
in-rust-tree = ["ide-assists/in-rust-tree", "ide-diagnostics/in-rust-tree"]
|
||||||
|
|
|
@ -15,10 +15,11 @@ rustc-hash = "1.1.0"
|
||||||
smallvec = "1.10.0"
|
smallvec = "1.10.0"
|
||||||
tracing = "0.1.35"
|
tracing = "0.1.35"
|
||||||
|
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
# local deps
|
||||||
parser = { path = "../parser", version = "0.0.0" }
|
syntax.workspace = true
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
parser.workspace = true
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
tt.workspace = true
|
||||||
|
stdx.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-utils = { path = "../test-utils" }
|
test-utils.workspace = true
|
||||||
|
|
|
@ -12,8 +12,10 @@ doctest = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
drop_bomb = "0.1.5"
|
drop_bomb = "0.1.5"
|
||||||
rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" }
|
rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" }
|
||||||
limit = { path = "../limit", version = "0.0.0" }
|
|
||||||
|
limit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
sourcegen = { path = "../sourcegen" }
|
|
||||||
|
sourcegen.workspace = true
|
||||||
|
|
|
@ -23,9 +23,10 @@ tracing = "0.1.37"
|
||||||
memmap2 = "0.5.4"
|
memmap2 = "0.5.4"
|
||||||
snap = "1.0.5"
|
snap = "1.0.5"
|
||||||
|
|
||||||
paths = { path = "../paths", version = "0.0.0" }
|
# local deps
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
paths.workspace = true
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
tt.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
|
profile.workspace = true
|
||||||
# Intentionally *not* depend on anything salsa-related
|
# Intentionally *not* depend on anything salsa-related
|
||||||
# base-db = { path = "../base-db", version = "0.0.0" }
|
# base-db.workspace = true
|
||||||
|
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
||||||
rust-version = "1.65"
|
rust-version = "1.65"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro-srv = { version = "0.0.0", path = "../proc-macro-srv" }
|
proc-macro-srv.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
sysroot-abi = ["proc-macro-srv/sysroot-abi"]
|
sysroot-abi = ["proc-macro-srv/sysroot-abi"]
|
||||||
|
|
|
@ -20,16 +20,16 @@ object = { version = "0.29.0", default-features = false, features = [
|
||||||
libloading = "0.7.3"
|
libloading = "0.7.3"
|
||||||
memmap2 = "0.5.4"
|
memmap2 = "0.5.4"
|
||||||
|
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
tt.workspace = true
|
||||||
mbe = { path = "../mbe", version = "0.0.0" }
|
mbe.workspace = true
|
||||||
paths = { path = "../paths", version = "0.0.0" }
|
paths.workspace = true
|
||||||
proc-macro-api = { path = "../proc-macro-api", version = "0.0.0" }
|
proc-macro-api.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
||||||
# used as proc macro test targets
|
# used as proc macro test targets
|
||||||
proc-macro-test = { path = "../proc-macro-test" }
|
proc-macro-test.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
sysroot-abi = []
|
sysroot-abi = []
|
||||||
|
|
|
@ -10,6 +10,9 @@ publish = false
|
||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
proc-macro-test-impl = { path = "imp", version = "0.0.0" }
|
|
||||||
toolchain = { path = "../toolchain", version = "0.0.0" }
|
|
||||||
cargo_metadata = "0.15.0"
|
cargo_metadata = "0.15.0"
|
||||||
|
|
||||||
|
proc-macro-test-impl = { path = "imp", version = "0.0.0" }
|
||||||
|
|
||||||
|
# local deps
|
||||||
|
toolchain.workspace = true
|
||||||
|
|
|
@ -19,12 +19,13 @@ serde_json = "1.0.86"
|
||||||
anyhow = "1.0.62"
|
anyhow = "1.0.62"
|
||||||
la-arena = { version = "0.3.0", path = "../../lib/la-arena" }
|
la-arena = { version = "0.3.0", path = "../../lib/la-arena" }
|
||||||
|
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
# local deps
|
||||||
base-db = { path = "../base-db", version = "0.0.0" }
|
base-db.workspace = true
|
||||||
toolchain = { path = "../toolchain", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
paths = { path = "../paths", version = "0.0.0" }
|
paths.workspace = true
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
profile.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
|
toolchain.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect-test = "1.4.0"
|
expect-test = "1.4.0"
|
||||||
|
|
|
@ -46,26 +46,25 @@ tracing-log = "0.1.3"
|
||||||
tracing-tree = "0.2.1"
|
tracing-tree = "0.2.1"
|
||||||
always-assert = "0.1.2"
|
always-assert = "0.1.2"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
cfg.workspace = true
|
||||||
flycheck = { path = "../flycheck", version = "0.0.0" }
|
flycheck.workspace = true
|
||||||
ide = { path = "../ide", version = "0.0.0" }
|
hir-def.workspace = true
|
||||||
ide-db = { path = "../ide-db", version = "0.0.0" }
|
hir-ty.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
hir.workspace = true
|
||||||
project-model = { path = "../project-model", version = "0.0.0" }
|
ide-db.workspace = true
|
||||||
syntax = { path = "../syntax", version = "0.0.0" }
|
|
||||||
vfs = { path = "../vfs", version = "0.0.0" }
|
|
||||||
vfs-notify = { path = "../vfs-notify", version = "0.0.0" }
|
|
||||||
cfg = { path = "../cfg", version = "0.0.0" }
|
|
||||||
toolchain = { path = "../toolchain", version = "0.0.0" }
|
|
||||||
tt = { path = "../tt", version = "0.0.0" }
|
|
||||||
proc-macro-api = { path = "../proc-macro-api", version = "0.0.0" }
|
|
||||||
|
|
||||||
# This should only be used in CLI
|
# This should only be used in CLI
|
||||||
ide-ssr = { path = "../ide-ssr", version = "0.0.0" }
|
ide-ssr.workspace = true
|
||||||
hir = { path = "../hir", version = "0.0.0" }
|
ide.workspace = true
|
||||||
hir-def = { path = "../hir-def", version = "0.0.0" }
|
proc-macro-api.workspace = true
|
||||||
hir-ty = { path = "../hir-ty", version = "0.0.0" }
|
proc-macro-srv.workspace = true
|
||||||
proc-macro-srv = { path = "../proc-macro-srv", version = "0.0.0" }
|
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
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = "0.3.9"
|
winapi = "0.3.9"
|
||||||
|
@ -78,9 +77,9 @@ expect-test = "1.4.0"
|
||||||
jod-thread = "0.1.2"
|
jod-thread = "0.1.2"
|
||||||
xshell = "0.2.2"
|
xshell = "0.2.2"
|
||||||
|
|
||||||
test-utils = { path = "../test-utils" }
|
test-utils.workspace = true
|
||||||
sourcegen = { path = "../sourcegen" }
|
sourcegen.workspace = true
|
||||||
mbe = { path = "../mbe" }
|
mbe.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
jemalloc = ["jemallocator", "profile/jemalloc"]
|
jemalloc = ["jemallocator", "profile/jemalloc"]
|
||||||
|
|
|
@ -20,10 +20,10 @@ once_cell = "1.15.0"
|
||||||
indexmap = "1.9.1"
|
indexmap = "1.9.1"
|
||||||
smol_str = "0.1.23"
|
smol_str = "0.1.23"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
parser.workspace = true
|
||||||
text-edit = { path = "../text-edit", version = "0.0.0" }
|
profile.workspace = true
|
||||||
parser = { path = "../parser", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
text-edit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rayon = "1.5.3"
|
rayon = "1.5.3"
|
||||||
|
@ -32,8 +32,8 @@ proc-macro2 = "1.0.47"
|
||||||
quote = "1.0.20"
|
quote = "1.0.20"
|
||||||
ungrammar = "1.16.1"
|
ungrammar = "1.16.1"
|
||||||
|
|
||||||
test-utils = { path = "../test-utils" }
|
test-utils.workspace = true
|
||||||
sourcegen = { path = "../sourcegen" }
|
sourcegen.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
in-rust-tree = []
|
in-rust-tree = []
|
||||||
|
|
|
@ -15,5 +15,5 @@ dissimilar = "1.0.4"
|
||||||
text-size = "1.1.0"
|
text-size = "1.1.0"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
profile = { path = "../profile", version = "0.0.0" }
|
profile.workspace = true
|
||||||
|
|
|
@ -12,4 +12,4 @@ doctest = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
smol_str = "0.1.23"
|
smol_str = "0.1.23"
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
|
|
|
@ -16,5 +16,5 @@ walkdir = "2.3.2"
|
||||||
crossbeam-channel = "0.5.5"
|
crossbeam-channel = "0.5.5"
|
||||||
notify = "5.0"
|
notify = "5.0"
|
||||||
|
|
||||||
vfs = { path = "../vfs", version = "0.0.0" }
|
vfs.workspace = true
|
||||||
paths = { path = "../paths", version = "0.0.0" }
|
paths.workspace = true
|
||||||
|
|
|
@ -14,5 +14,5 @@ rustc-hash = "1.1.0"
|
||||||
fst = "0.4.7"
|
fst = "0.4.7"
|
||||||
indexmap = "1.9.1"
|
indexmap = "1.9.1"
|
||||||
|
|
||||||
paths = { path = "../paths", version = "0.0.0" }
|
paths.workspace = true
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
stdx.workspace = true
|
||||||
|
|
Loading…
Reference in a new issue