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 ---- crates/ra_tt/Cargo.toml | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'crates') 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" } diff --git a/crates/ra_tt/Cargo.toml b/crates/ra_tt/Cargo.toml index 3328d312f..3fcc7f085 100644 --- a/crates/ra_tt/Cargo.toml +++ b/crates/ra_tt/Cargo.toml @@ -5,4 +5,6 @@ version = "0.1.0" authors = ["rust-analyzer developers"] [dependencies] -smol_str = "0.1.9" +# 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"] } -- cgit v1.2.3