From 8c72c00abdbf9efe54b0d84d7a9d24b01ae6762a Mon Sep 17 00:00:00 2001 From: Shotaro Yamada Date: Sat, 12 Oct 2019 07:48:23 +0900 Subject: Remove smol_str dependency from ra_syntax --- crates/ra_syntax/Cargo.toml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/ra_syntax') diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index 9bc85404a..b2d87ba03 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml @@ -15,10 +15,6 @@ rustc-hash = "1.0.1" arrayvec = "0.4.10" once_cell = "1.2.0" -# 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" } -- cgit v1.2.3 From e4ffa79b3eb6e5bfc0c216d7af3811c56caf2101 Mon Sep 17 00:00:00 2001 From: Shotaro Yamada Date: Mon, 14 Oct 2019 19:56:29 +0900 Subject: Enable `serde` feature in ra_syntax/Cargo.toml --- crates/ra_syntax/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/ra_syntax') diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index b2d87ba03..68c594202 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml @@ -15,6 +15,11 @@ rustc-hash = "1.0.1" arrayvec = "0.4.10" once_cell = "1.2.0" +# 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" } -- cgit v1.2.3