diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index 1c0b184e1f..b6ebb129d0 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" }