From 9e7c952bbddc2e6763c49f0511a295362e9893d6 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Sun, 18 Oct 2020 13:09:00 +0300 Subject: Extract call_info and completion into separate crates --- crates/completion/Cargo.toml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 crates/completion/Cargo.toml (limited to 'crates/completion/Cargo.toml') diff --git a/crates/completion/Cargo.toml b/crates/completion/Cargo.toml new file mode 100644 index 000000000..99087c73f --- /dev/null +++ b/crates/completion/Cargo.toml @@ -0,0 +1,32 @@ +[package] +name = "completion" +version = "0.0.0" +description = "TBD" +license = "MIT OR Apache-2.0" +authors = ["rust-analyzer developers"] +edition = "2018" + +[lib] +doctest = false + +[dependencies] +itertools = "0.9.0" +log = "0.4.8" +rustc-hash = "1.1.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" } +test_utils = { path = "../test_utils", version = "0.0.0" } +assists = { path = "../assists", version = "0.0.0" } +call_info = { path = "../call_info", version = "0.0.0" } + +# 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`. +hir = { path = "../hir", version = "0.0.0" } + +[dev-dependencies] +expect-test = "1.0" +stdx = { path = "../stdx", version = "0.0.0" } -- cgit v1.2.3