From 0e6b94de78bb5b356d6fd14a6db91ceb8d76856d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 13 Aug 2020 10:04:37 +0200 Subject: [PATCH] Minor --- Cargo.lock | 36 ++++++++++++++++---------------- crates/proc_macro_srv/Cargo.toml | 8 ++++--- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index efc17c4301..614548ccac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -901,6 +901,23 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "proc_macro_srv" +version = "0.0.0" +dependencies = [ + "cargo_metadata", + "difference", + "goblin", + "libloading", + "memmap", + "ra_mbe", + "ra_proc_macro", + "serde_derive", + "test_utils", + "toolchain", + "tt", +] + [[package]] name = "profile" version = "0.0.0" @@ -1132,23 +1149,6 @@ dependencies = [ "tt", ] -[[package]] -name = "proc_macro_srv" -version = "0.0.0" -dependencies = [ - "cargo_metadata", - "difference", - "goblin", - "libloading", - "memmap", - "ra_mbe", - "ra_proc_macro", - "serde_derive", - "test_utils", - "toolchain", - "tt", -] - [[package]] name = "ra_project_model" version = "0.1.0" @@ -1271,6 +1271,7 @@ dependencies = [ "oorandom", "parking_lot", "pico-args", + "proc_macro_srv", "profile", "ra_cfg", "ra_db", @@ -1280,7 +1281,6 @@ dependencies = [ "ra_ide", "ra_ide_db", "ra_mbe", - "proc_macro_srv", "ra_project_model", "ra_ssr", "rayon", diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index 775af890eb..f7d481cbab 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml @@ -9,12 +9,13 @@ edition = "2018" doctest = false [dependencies] -tt = { path = "../tt" } -ra_mbe = { path = "../ra_mbe" } -ra_proc_macro = { path = "../ra_proc_macro" } goblin = "0.2.1" libloading = "0.6.0" memmap = "0.7" + +tt = { path = "../tt" } +ra_mbe = { path = "../ra_mbe" } +ra_proc_macro = { path = "../ra_proc_macro" } test_utils = { path = "../test_utils" } [dev-dependencies] @@ -22,4 +23,5 @@ cargo_metadata = "0.11.1" difference = "2.0.0" # used as proc macro test target serde_derive = "1.0.106" + toolchain = { path = "../toolchain" }