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