aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-11 10:21:18 +0000
committerAleksey Kladov <[email protected]>2019-01-11 10:21:18 +0000
commit66d7adf1cbbe727bfdef6db3fbf8d15bc0e747df (patch)
tree3f01166b8148b0703a6318662bbd93c51a2aa3e8 /crates/ra_syntax
parent28559b7dd2e2c101c4b7f2c9bb207b3af94f6e16 (diff)
force serde in ra_syntax
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/Cargo.toml7
-rw-r--r--crates/ra_syntax/fuzz/Cargo.lock19
2 files changed, 22 insertions, 4 deletions
diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml
index 7c8e5b696..d5b4a4a77 100644
--- a/crates/ra_syntax/Cargo.toml
+++ b/crates/ra_syntax/Cargo.toml
@@ -14,7 +14,12 @@ itertools = "0.8.0"
14drop_bomb = "0.1.4" 14drop_bomb = "0.1.4"
15parking_lot = "0.7.0" 15parking_lot = "0.7.0"
16rowan = "0.2.0" 16rowan = "0.2.0"
17text_unit = "0.1.6" 17
18# ideally, `serde` should be enabled by `ra_lsp_serder`, but we enable it here
19# to reduce number of compilations
20text_unit = { version = "0.1.6", features = ["serde"] }
21smol_str = { version = "0.1.9", features = ["serde"] }
22
18ra_text_edit = { path = "../ra_text_edit" } 23ra_text_edit = { path = "../ra_text_edit" }
19 24
20[dev-dependencies] 25[dev-dependencies]
diff --git a/crates/ra_syntax/fuzz/Cargo.lock b/crates/ra_syntax/fuzz/Cargo.lock
index 77bddab7c..4be6be44f 100644
--- a/crates/ra_syntax/fuzz/Cargo.lock
+++ b/crates/ra_syntax/fuzz/Cargo.lock
@@ -188,6 +188,7 @@ dependencies = [
188 "parking_lot 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 188 "parking_lot 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
189 "ra_text_edit 0.1.0", 189 "ra_text_edit 0.1.0",
190 "rowan 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 190 "rowan 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
191 "smol_str 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
191 "text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 192 "text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
192 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 193 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
193] 194]
@@ -320,7 +321,7 @@ version = "0.2.0"
320source = "registry+https://github.com/rust-lang/crates.io-index" 321source = "registry+https://github.com/rust-lang/crates.io-index"
321dependencies = [ 322dependencies = [
322 "parking_lot 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 323 "parking_lot 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
323 "smol_str 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 324 "smol_str 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
324 "text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 325 "text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
325] 326]
326 327
@@ -362,6 +363,11 @@ version = "0.7.0"
362source = "registry+https://github.com/rust-lang/crates.io-index" 363source = "registry+https://github.com/rust-lang/crates.io-index"
363 364
364[[package]] 365[[package]]
366name = "serde"
367version = "1.0.84"
368source = "registry+https://github.com/rust-lang/crates.io-index"
369
370[[package]]
365name = "smallvec" 371name = "smallvec"
366version = "0.6.7" 372version = "0.6.7"
367source = "registry+https://github.com/rust-lang/crates.io-index" 373source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -371,8 +377,11 @@ dependencies = [
371 377
372[[package]] 378[[package]]
373name = "smol_str" 379name = "smol_str"
374version = "0.1.8" 380version = "0.1.9"
375source = "registry+https://github.com/rust-lang/crates.io-index" 381source = "registry+https://github.com/rust-lang/crates.io-index"
382dependencies = [
383 "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)",
384]
376 385
377[[package]] 386[[package]]
378name = "stable_deref_trait" 387name = "stable_deref_trait"
@@ -396,6 +405,9 @@ dependencies = [
396name = "text_unit" 405name = "text_unit"
397version = "0.1.6" 406version = "0.1.6"
398source = "registry+https://github.com/rust-lang/crates.io-index" 407source = "registry+https://github.com/rust-lang/crates.io-index"
408dependencies = [
409 "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)",
410]
399 411
400[[package]] 412[[package]]
401name = "ucd-util" 413name = "ucd-util"
@@ -492,8 +504,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
492"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" 504"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
493"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" 505"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
494"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" 506"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
507"checksum serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)" = "0e732ed5a5592c17d961555e3b552985baf98d50ce418b7b655f31f6ba7eb1b7"
495"checksum smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b73ea3738b47563803ef814925e69be00799a8c07420be8b996f8e98fb2336db" 508"checksum smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b73ea3738b47563803ef814925e69be00799a8c07420be8b996f8e98fb2336db"
496"checksum smol_str 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "486a74e9b9fc53373808f7a17e10fc728adcb1fbe272292271d8bea61175e181" 509"checksum smol_str 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9af1035bc5d742ab6b7ab16713e41cc2ffe78cb474f6f43cd696b2d16052007e"
497"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" 510"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
498"checksum tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "7e91405c14320e5c79b3d148e1c86f40749a36e490642202a31689cb1a3452b2" 511"checksum tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "7e91405c14320e5c79b3d148e1c86f40749a36e490642202a31689cb1a3452b2"
499"checksum text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "158bb1c22b638b1da3c95a8ad9f061ea40d4d39fd0301be3a520f92efeeb189e" 512"checksum text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "158bb1c22b638b1da3c95a8ad9f061ea40d4d39fd0301be3a520f92efeeb189e"