Avoid recompiling serde

This commit is contained in:
Aleksey Kladov 2019-12-12 14:11:06 +01:00
parent 4444192b05
commit b0739d5a26

View file

@ -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" }