From b0739d5a26684527129882b7d182d01e635525bc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 12 Dec 2019 14:11:06 +0100 Subject: Avoid recompiling serde --- crates/ra_syntax/Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/ra_syntax') diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index 1c0b184e1..b6ebb129d 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml @@ -18,13 +18,14 @@ rustc-hash = "1.0.1" arrayvec = "0.5.1" once_cell = "1.2.0" +ra_text_edit = { path = "../ra_text_edit" } +ra_parser = { path = "../ra_parser" } + # This crate transitively depends on `smol_str` via `rowan`. # ideally, `serde` should be enabled by `ra_lsp_server`, but we enable it here # to reduce number of compilations smol_str = { version = "0.1.12", features = ["serde"] } - -ra_text_edit = { path = "../ra_text_edit" } -ra_parser = { path = "../ra_parser" } +serde = { version = "1", features = ["derive"] } [dev-dependencies] test_utils = { path = "../test_utils" } -- cgit v1.2.3