]> git.lizzy.rs Git - rust.git/blob - src/tools/rust-analyzer/crates/ide/Cargo.toml
Auto merge of #99052 - tmiasko:bitset-clone-from, r=Mark-Simulacrum
[rust.git] / src / tools / rust-analyzer / crates / ide / Cargo.toml
1 [package]
2 name = "ide"
3 version = "0.0.0"
4 description = "TBD"
5 license = "MIT OR Apache-2.0"
6 edition = "2021"
7 rust-version = "1.57"
8
9 [lib]
10 doctest = false
11
12 [dependencies]
13 cov-mark = "2.0.0-pre.1"
14 crossbeam-channel = "0.5.5"
15 either = "1.7.0"
16 itertools = "0.10.3"
17 tracing = "0.1.35"
18 oorandom = "11.1.3"
19 pulldown-cmark-to-cmark = "10.0.1"
20 pulldown-cmark = { version = "0.9.1", default-features = false }
21 url = "2.2.2"
22 dot = "0.1.4"
23
24 stdx = { path = "../stdx", version = "0.0.0" }
25 syntax = { path = "../syntax", version = "0.0.0" }
26 text-edit = { path = "../text-edit", version = "0.0.0" }
27 ide-db = { path = "../ide-db", version = "0.0.0" }
28 cfg = { path = "../cfg", version = "0.0.0" }
29 profile = { path = "../profile", version = "0.0.0" }
30 ide-assists = { path = "../ide-assists", version = "0.0.0" }
31 ide-diagnostics = { path = "../ide-diagnostics", version = "0.0.0" }
32 ide-ssr = { path = "../ide-ssr", version = "0.0.0" }
33 ide-completion = { path = "../ide-completion", version = "0.0.0" }
34
35 # ide should depend only on the top-level `hir` package. if you need
36 # something from some `hir-xxx` subpackage, reexport the API via `hir`.
37 hir = { path = "../hir", version = "0.0.0" }
38
39 [target.'cfg(not(any(target_arch = "wasm32", target_os = "emscripten")))'.dependencies]
40 toolchain = { path = "../toolchain", version = "0.0.0" }
41
42 [dev-dependencies]
43 test-utils = { path = "../test-utils" }
44 expect-test = "1.4.0"
45
46 [features]
47 in-rust-tree = ["ide-assists/in-rust-tree", "ide-diagnostics/in-rust-tree"]