diff options
27 files changed, 338 insertions, 205 deletions
diff --git a/Cargo.lock b/Cargo.lock index b7489fda5..1465268b2 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -30,7 +30,7 @@ version = "0.2.11" | |||
30 | source = "registry+https://github.com/rust-lang/crates.io-index" | 30 | source = "registry+https://github.com/rust-lang/crates.io-index" |
31 | dependencies = [ | 31 | dependencies = [ |
32 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 32 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", |
33 | "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", | 33 | "termion 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", |
34 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | 34 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", |
35 | ] | 35 | ] |
36 | 36 | ||
@@ -65,7 +65,7 @@ name = "base64" | |||
65 | version = "0.10.1" | 65 | version = "0.10.1" |
66 | source = "registry+https://github.com/rust-lang/crates.io-index" | 66 | source = "registry+https://github.com/rust-lang/crates.io-index" |
67 | dependencies = [ | 67 | dependencies = [ |
68 | "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 68 | "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
69 | ] | 69 | ] |
70 | 70 | ||
71 | [[package]] | 71 | [[package]] |
@@ -93,7 +93,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
93 | dependencies = [ | 93 | dependencies = [ |
94 | "block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | 94 | "block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", |
95 | "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 95 | "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", |
96 | "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 96 | "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
97 | "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", | 97 | "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", |
98 | ] | 98 | ] |
99 | 99 | ||
@@ -112,15 +112,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
112 | 112 | ||
113 | [[package]] | 113 | [[package]] |
114 | name = "byteorder" | 114 | name = "byteorder" |
115 | version = "1.3.1" | 115 | version = "1.3.2" |
116 | source = "registry+https://github.com/rust-lang/crates.io-index" | 116 | source = "registry+https://github.com/rust-lang/crates.io-index" |
117 | 117 | ||
118 | [[package]] | 118 | [[package]] |
119 | name = "cargo_metadata" | 119 | name = "cargo_metadata" |
120 | version = "0.7.4" | 120 | version = "0.8.0" |
121 | source = "registry+https://github.com/rust-lang/crates.io-index" | 121 | source = "registry+https://github.com/rust-lang/crates.io-index" |
122 | dependencies = [ | 122 | dependencies = [ |
123 | "error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", | 123 | "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", |
124 | "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", | 124 | "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", |
125 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", | 125 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", |
126 | "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", | 126 | "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -248,7 +248,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
248 | 248 | ||
249 | [[package]] | 249 | [[package]] |
250 | name = "console" | 250 | name = "console" |
251 | version = "0.7.5" | 251 | version = "0.7.7" |
252 | source = "registry+https://github.com/rust-lang/crates.io-index" | 252 | source = "registry+https://github.com/rust-lang/crates.io-index" |
253 | dependencies = [ | 253 | dependencies = [ |
254 | "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", | 254 | "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -257,7 +257,7 @@ dependencies = [ | |||
257 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 257 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
258 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 258 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", |
259 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 259 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
260 | "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | 260 | "regex 1.1.7 (registry+https://github.com/rust-lang/crates.io-index)", |
261 | "termios 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 261 | "termios 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", |
262 | "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", | 262 | "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", |
263 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | 263 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -269,38 +269,37 @@ version = "0.3.8" | |||
269 | source = "registry+https://github.com/rust-lang/crates.io-index" | 269 | source = "registry+https://github.com/rust-lang/crates.io-index" |
270 | dependencies = [ | 270 | dependencies = [ |
271 | "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | 271 | "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
272 | "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", | 272 | "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", |
273 | ] | 273 | ] |
274 | 274 | ||
275 | [[package]] | 275 | [[package]] |
276 | name = "crossbeam-deque" | 276 | name = "crossbeam-deque" |
277 | version = "0.2.0" | 277 | version = "0.6.3" |
278 | source = "registry+https://github.com/rust-lang/crates.io-index" | 278 | source = "registry+https://github.com/rust-lang/crates.io-index" |
279 | dependencies = [ | 279 | dependencies = [ |
280 | "crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 280 | "crossbeam-epoch 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", |
281 | "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | 281 | "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
282 | ] | 282 | ] |
283 | 283 | ||
284 | [[package]] | 284 | [[package]] |
285 | name = "crossbeam-epoch" | 285 | name = "crossbeam-epoch" |
286 | version = "0.3.1" | 286 | version = "0.7.1" |
287 | source = "registry+https://github.com/rust-lang/crates.io-index" | 287 | source = "registry+https://github.com/rust-lang/crates.io-index" |
288 | dependencies = [ | 288 | dependencies = [ |
289 | "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", | 289 | "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", |
290 | "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | 290 | "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", |
291 | "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | 291 | "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
292 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 292 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
293 | "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | 293 | "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", |
294 | "nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | ||
295 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | 294 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", |
296 | ] | 295 | ] |
297 | 296 | ||
298 | [[package]] | 297 | [[package]] |
299 | name = "crossbeam-utils" | 298 | name = "crossbeam-queue" |
300 | version = "0.2.2" | 299 | version = "0.1.2" |
301 | source = "registry+https://github.com/rust-lang/crates.io-index" | 300 | source = "registry+https://github.com/rust-lang/crates.io-index" |
302 | dependencies = [ | 301 | dependencies = [ |
303 | "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | 302 | "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
304 | ] | 303 | ] |
305 | 304 | ||
306 | [[package]] | 305 | [[package]] |
@@ -319,7 +318,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
319 | dependencies = [ | 318 | dependencies = [ |
320 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 319 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
321 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 320 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
322 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 321 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
323 | ] | 322 | ] |
324 | 323 | ||
325 | [[package]] | 324 | [[package]] |
@@ -365,7 +364,7 @@ dependencies = [ | |||
365 | 364 | ||
366 | [[package]] | 365 | [[package]] |
367 | name = "ena" | 366 | name = "ena" |
368 | version = "0.11.0" | 367 | version = "0.13.0" |
369 | source = "registry+https://github.com/rust-lang/crates.io-index" | 368 | source = "registry+https://github.com/rust-lang/crates.io-index" |
370 | dependencies = [ | 369 | dependencies = [ |
371 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 370 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -401,7 +400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
401 | dependencies = [ | 400 | dependencies = [ |
402 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 401 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
403 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 402 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
404 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 403 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
405 | "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", | 404 | "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", |
406 | ] | 405 | ] |
407 | 406 | ||
@@ -427,13 +426,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
427 | 426 | ||
428 | [[package]] | 427 | [[package]] |
429 | name = "flexi_logger" | 428 | name = "flexi_logger" |
430 | version = "0.11.5" | 429 | version = "0.13.2" |
431 | source = "registry+https://github.com/rust-lang/crates.io-index" | 430 | source = "registry+https://github.com/rust-lang/crates.io-index" |
432 | dependencies = [ | 431 | dependencies = [ |
433 | "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 432 | "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
434 | "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 433 | "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
435 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 434 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
436 | "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | 435 | "regex 1.1.7 (registry+https://github.com/rust-lang/crates.io-index)", |
436 | "yansi 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
437 | ] | 437 | ] |
438 | 438 | ||
439 | [[package]] | 439 | [[package]] |
@@ -463,7 +463,7 @@ name = "fst" | |||
463 | version = "0.3.3" | 463 | version = "0.3.3" |
464 | source = "registry+https://github.com/rust-lang/crates.io-index" | 464 | source = "registry+https://github.com/rust-lang/crates.io-index" |
465 | dependencies = [ | 465 | dependencies = [ |
466 | "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 466 | "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
467 | ] | 467 | ] |
468 | 468 | ||
469 | [[package]] | 469 | [[package]] |
@@ -490,7 +490,7 @@ name = "gen_lsp_server" | |||
490 | version = "0.2.0" | 490 | version = "0.2.0" |
491 | dependencies = [ | 491 | dependencies = [ |
492 | "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | 492 | "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", |
493 | "flexi_logger 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)", | 493 | "flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", |
494 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 494 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
495 | "lsp-types 0.57.2 (registry+https://github.com/rust-lang/crates.io-index)", | 495 | "lsp-types 0.57.2 (registry+https://github.com/rust-lang/crates.io-index)", |
496 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", | 496 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -548,11 +548,11 @@ name = "indicatif" | |||
548 | version = "0.11.0" | 548 | version = "0.11.0" |
549 | source = "registry+https://github.com/rust-lang/crates.io-index" | 549 | source = "registry+https://github.com/rust-lang/crates.io-index" |
550 | dependencies = [ | 550 | dependencies = [ |
551 | "console 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", | 551 | "console 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)", |
552 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 552 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
553 | "number_prefix 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | 553 | "number_prefix 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
554 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 554 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
555 | "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | 555 | "regex 1.1.7 (registry+https://github.com/rust-lang/crates.io-index)", |
556 | ] | 556 | ] |
557 | 557 | ||
558 | [[package]] | 558 | [[package]] |
@@ -580,7 +580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
580 | dependencies = [ | 580 | dependencies = [ |
581 | "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 581 | "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
582 | "ci_info 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 582 | "ci_info 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", |
583 | "console 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", | 583 | "console 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)", |
584 | "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | 584 | "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", |
585 | "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", | 585 | "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", |
586 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 586 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -809,7 +809,7 @@ dependencies = [ | |||
809 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 809 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", |
810 | "mio 0.6.19 (registry+https://github.com/rust-lang/crates.io-index)", | 810 | "mio 0.6.19 (registry+https://github.com/rust-lang/crates.io-index)", |
811 | "mio-extras 2.0.5 (registry+https://github.com/rust-lang/crates.io-index)", | 811 | "mio-extras 2.0.5 (registry+https://github.com/rust-lang/crates.io-index)", |
812 | "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)", | 812 | "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
813 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | 813 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", |
814 | ] | 814 | ] |
815 | 815 | ||
@@ -820,7 +820,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
820 | dependencies = [ | 820 | dependencies = [ |
821 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 821 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
822 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 822 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
823 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 823 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
824 | ] | 824 | ] |
825 | 825 | ||
826 | [[package]] | 826 | [[package]] |
@@ -842,7 +842,7 @@ dependencies = [ | |||
842 | 842 | ||
843 | [[package]] | 843 | [[package]] |
844 | name = "num_cpus" | 844 | name = "num_cpus" |
845 | version = "1.10.0" | 845 | version = "1.10.1" |
846 | source = "registry+https://github.com/rust-lang/crates.io-index" | 846 | source = "registry+https://github.com/rust-lang/crates.io-index" |
847 | dependencies = [ | 847 | dependencies = [ |
848 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 848 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -901,7 +901,7 @@ dependencies = [ | |||
901 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | 901 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
902 | "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", | 902 | "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", |
903 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | 903 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", |
904 | "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", | 904 | "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", |
905 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | 905 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", |
906 | ] | 906 | ] |
907 | 907 | ||
@@ -936,7 +936,7 @@ dependencies = [ | |||
936 | "pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | 936 | "pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", |
937 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 937 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
938 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 938 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
939 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 939 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
940 | ] | 940 | ] |
941 | 941 | ||
942 | [[package]] | 942 | [[package]] |
@@ -968,19 +968,19 @@ dependencies = [ | |||
968 | 968 | ||
969 | [[package]] | 969 | [[package]] |
970 | name = "proptest" | 970 | name = "proptest" |
971 | version = "0.9.3" | 971 | version = "0.9.4" |
972 | source = "registry+https://github.com/rust-lang/crates.io-index" | 972 | source = "registry+https://github.com/rust-lang/crates.io-index" |
973 | dependencies = [ | 973 | dependencies = [ |
974 | "bit-set 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | 974 | "bit-set 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", |
975 | "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 975 | "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
976 | "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 976 | "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
977 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 977 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
978 | "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | 978 | "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
979 | "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | 979 | "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", |
980 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | 980 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
981 | "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | 981 | "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", |
982 | "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | 982 | "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", |
983 | "regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", | 983 | "regex-syntax 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", |
984 | ] | 984 | ] |
985 | 985 | ||
986 | [[package]] | 986 | [[package]] |
@@ -1026,7 +1026,7 @@ dependencies = [ | |||
1026 | "ra_ide_api 0.1.0", | 1026 | "ra_ide_api 0.1.0", |
1027 | "ra_project_model 0.1.0", | 1027 | "ra_project_model 0.1.0", |
1028 | "ra_syntax 0.1.0", | 1028 | "ra_syntax 0.1.0", |
1029 | "ra_vfs 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | 1029 | "ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", |
1030 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1030 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1031 | "test_utils 0.1.0", | 1031 | "test_utils 0.1.0", |
1032 | ] | 1032 | ] |
@@ -1036,7 +1036,7 @@ name = "ra_cli" | |||
1036 | version = "0.1.0" | 1036 | version = "0.1.0" |
1037 | dependencies = [ | 1037 | dependencies = [ |
1038 | "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1038 | "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1039 | "flexi_logger 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)", | 1039 | "flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1040 | "indicatif 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1040 | "indicatif 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1041 | "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1041 | "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1042 | "ra_batch 0.1.0", | 1042 | "ra_batch 0.1.0", |
@@ -1076,8 +1076,8 @@ dependencies = [ | |||
1076 | "chalk-ir 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", | 1076 | "chalk-ir 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", |
1077 | "chalk-rust-ir 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", | 1077 | "chalk-rust-ir 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", |
1078 | "chalk-solve 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", | 1078 | "chalk-solve 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", |
1079 | "ena 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1079 | "ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1080 | "flexi_logger 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)", | 1080 | "flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1081 | "insta 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1081 | "insta 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1082 | "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1082 | "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1083 | "lalrpop-intern 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1083 | "lalrpop-intern 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1106,7 +1106,7 @@ dependencies = [ | |||
1106 | "jemallocator 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | 1106 | "jemallocator 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1107 | "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1107 | "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1108 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 1108 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
1109 | "proptest 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1109 | "proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)", |
1110 | "ra_assists 0.1.0", | 1110 | "ra_assists 0.1.0", |
1111 | "ra_db 0.1.0", | 1111 | "ra_db 0.1.0", |
1112 | "ra_fmt 0.1.0", | 1112 | "ra_fmt 0.1.0", |
@@ -1115,7 +1115,7 @@ dependencies = [ | |||
1115 | "ra_syntax 0.1.0", | 1115 | "ra_syntax 0.1.0", |
1116 | "ra_text_edit 0.1.0", | 1116 | "ra_text_edit 0.1.0", |
1117 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | 1117 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
1118 | "rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1118 | "rayon 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1119 | "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1119 | "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1120 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1120 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1121 | "superslice 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1121 | "superslice 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1128,7 +1128,7 @@ name = "ra_lsp_server" | |||
1128 | version = "0.1.0" | 1128 | version = "0.1.0" |
1129 | dependencies = [ | 1129 | dependencies = [ |
1130 | "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1130 | "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", |
1131 | "flexi_logger 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)", | 1131 | "flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1132 | "gen_lsp_server 0.2.0", | 1132 | "gen_lsp_server 0.2.0", |
1133 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 1133 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
1134 | "lsp-types 0.57.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1134 | "lsp-types 0.57.2 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1139,7 +1139,7 @@ dependencies = [ | |||
1139 | "ra_project_model 0.1.0", | 1139 | "ra_project_model 0.1.0", |
1140 | "ra_syntax 0.1.0", | 1140 | "ra_syntax 0.1.0", |
1141 | "ra_text_edit 0.1.0", | 1141 | "ra_text_edit 0.1.0", |
1142 | "ra_vfs 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | 1142 | "ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", |
1143 | "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1143 | "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1144 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1144 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1145 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", | 1145 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1161,7 +1161,7 @@ dependencies = [ | |||
1161 | "ra_syntax 0.1.0", | 1161 | "ra_syntax 0.1.0", |
1162 | "ra_tt 0.1.0", | 1162 | "ra_tt 0.1.0", |
1163 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1163 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1164 | "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", | 1164 | "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", |
1165 | ] | 1165 | ] |
1166 | 1166 | ||
1167 | [[package]] | 1167 | [[package]] |
@@ -1184,7 +1184,7 @@ dependencies = [ | |||
1184 | name = "ra_project_model" | 1184 | name = "ra_project_model" |
1185 | version = "0.1.0" | 1185 | version = "0.1.0" |
1186 | dependencies = [ | 1186 | dependencies = [ |
1187 | "cargo_metadata 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", | 1187 | "cargo_metadata 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1188 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", | 1188 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
1189 | "ra_arena 0.1.0", | 1189 | "ra_arena 0.1.0", |
1190 | "ra_db 0.1.0", | 1190 | "ra_db 0.1.0", |
@@ -1193,7 +1193,7 @@ dependencies = [ | |||
1193 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", | 1193 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", |
1194 | "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", | 1194 | "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", |
1195 | "test_utils 0.1.0", | 1195 | "test_utils 0.1.0", |
1196 | "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1196 | "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
1197 | ] | 1197 | ] |
1198 | 1198 | ||
1199 | [[package]] | 1199 | [[package]] |
@@ -1205,19 +1205,19 @@ dependencies = [ | |||
1205 | "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1205 | "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1206 | "ra_parser 0.1.0", | 1206 | "ra_parser 0.1.0", |
1207 | "ra_text_edit 0.1.0", | 1207 | "ra_text_edit 0.1.0", |
1208 | "rowan 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1208 | "rowan 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", |
1209 | "smol_str 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", | 1209 | "smol_str 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", |
1210 | "test_utils 0.1.0", | 1210 | "test_utils 0.1.0", |
1211 | "text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | 1211 | "text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1212 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1212 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1213 | "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1213 | "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
1214 | ] | 1214 | ] |
1215 | 1215 | ||
1216 | [[package]] | 1216 | [[package]] |
1217 | name = "ra_text_edit" | 1217 | name = "ra_text_edit" |
1218 | version = "0.1.0" | 1218 | version = "0.1.0" |
1219 | dependencies = [ | 1219 | dependencies = [ |
1220 | "proptest 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1220 | "proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)", |
1221 | "test_utils 0.1.0", | 1221 | "test_utils 0.1.0", |
1222 | "text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | 1222 | "text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", |
1223 | ] | 1223 | ] |
@@ -1229,7 +1229,7 @@ dependencies = [ | |||
1229 | "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1229 | "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1230 | "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1230 | "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1231 | "teraron 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1231 | "teraron 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1232 | "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1232 | "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
1233 | ] | 1233 | ] |
1234 | 1234 | ||
1235 | [[package]] | 1235 | [[package]] |
@@ -1241,7 +1241,7 @@ dependencies = [ | |||
1241 | 1241 | ||
1242 | [[package]] | 1242 | [[package]] |
1243 | name = "ra_vfs" | 1243 | name = "ra_vfs" |
1244 | version = "0.2.4" | 1244 | version = "0.2.5" |
1245 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1245 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1246 | dependencies = [ | 1246 | dependencies = [ |
1247 | "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1247 | "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1250,7 +1250,7 @@ dependencies = [ | |||
1250 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1250 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1251 | "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1251 | "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1252 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1252 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1253 | "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1253 | "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", |
1254 | ] | 1254 | ] |
1255 | 1255 | ||
1256 | [[package]] | 1256 | [[package]] |
@@ -1351,23 +1351,24 @@ dependencies = [ | |||
1351 | 1351 | ||
1352 | [[package]] | 1352 | [[package]] |
1353 | name = "rayon" | 1353 | name = "rayon" |
1354 | version = "1.0.3" | 1354 | version = "1.1.0" |
1355 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1355 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1356 | dependencies = [ | 1356 | dependencies = [ |
1357 | "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1357 | "crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1358 | "either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1358 | "either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1359 | "rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1359 | "rayon-core 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1360 | ] | 1360 | ] |
1361 | 1361 | ||
1362 | [[package]] | 1362 | [[package]] |
1363 | name = "rayon-core" | 1363 | name = "rayon-core" |
1364 | version = "1.4.1" | 1364 | version = "1.5.0" |
1365 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1365 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1366 | dependencies = [ | 1366 | dependencies = [ |
1367 | "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1367 | "crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1368 | "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||
1369 | "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||
1368 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1370 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1369 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 1371 | "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1370 | "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
1371 | ] | 1372 | ] |
1372 | 1373 | ||
1373 | [[package]] | 1374 | [[package]] |
@@ -1393,19 +1394,19 @@ dependencies = [ | |||
1393 | 1394 | ||
1394 | [[package]] | 1395 | [[package]] |
1395 | name = "regex" | 1396 | name = "regex" |
1396 | version = "1.1.6" | 1397 | version = "1.1.7" |
1397 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1398 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1398 | dependencies = [ | 1399 | dependencies = [ |
1399 | "aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1400 | "aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1400 | "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1401 | "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1401 | "regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", | 1402 | "regex-syntax 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", |
1402 | "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", | 1403 | "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", |
1403 | "utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1404 | "utf8-ranges 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", |
1404 | ] | 1405 | ] |
1405 | 1406 | ||
1406 | [[package]] | 1407 | [[package]] |
1407 | name = "regex-syntax" | 1408 | name = "regex-syntax" |
1408 | version = "0.6.6" | 1409 | version = "0.6.7" |
1409 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1410 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1410 | dependencies = [ | 1411 | dependencies = [ |
1411 | "ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | 1412 | "ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1418,7 +1419,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1418 | 1419 | ||
1419 | [[package]] | 1420 | [[package]] |
1420 | name = "remove_dir_all" | 1421 | name = "remove_dir_all" |
1421 | version = "0.5.1" | 1422 | version = "0.5.2" |
1422 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1423 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1423 | dependencies = [ | 1424 | dependencies = [ |
1424 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1425 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1436,7 +1437,7 @@ dependencies = [ | |||
1436 | 1437 | ||
1437 | [[package]] | 1438 | [[package]] |
1438 | name = "rowan" | 1439 | name = "rowan" |
1439 | version = "0.5.2" | 1440 | version = "0.5.4" |
1440 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1441 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1441 | dependencies = [ | 1442 | dependencies = [ |
1442 | "colosseum 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1443 | "colosseum 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1455,7 +1456,7 @@ name = "rustc-hash" | |||
1455 | version = "1.0.1" | 1456 | version = "1.0.1" |
1456 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1457 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1457 | dependencies = [ | 1458 | dependencies = [ |
1458 | "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1459 | "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1459 | ] | 1460 | ] |
1460 | 1461 | ||
1461 | [[package]] | 1462 | [[package]] |
@@ -1484,7 +1485,7 @@ dependencies = [ | |||
1484 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1485 | "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1485 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1486 | "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1486 | "salsa-macros 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1487 | "salsa-macros 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1487 | "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", | 1488 | "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", |
1488 | ] | 1489 | ] |
1489 | 1490 | ||
1490 | [[package]] | 1491 | [[package]] |
@@ -1495,7 +1496,7 @@ dependencies = [ | |||
1495 | "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1496 | "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1496 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 1497 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
1497 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 1498 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
1498 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 1499 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
1499 | ] | 1500 | ] |
1500 | 1501 | ||
1501 | [[package]] | 1502 | [[package]] |
@@ -1545,7 +1546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1545 | dependencies = [ | 1546 | dependencies = [ |
1546 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 1547 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
1547 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 1548 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
1548 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 1549 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
1549 | ] | 1550 | ] |
1550 | 1551 | ||
1551 | [[package]] | 1552 | [[package]] |
@@ -1595,7 +1596,7 @@ dependencies = [ | |||
1595 | 1596 | ||
1596 | [[package]] | 1597 | [[package]] |
1597 | name = "smallvec" | 1598 | name = "smallvec" |
1598 | version = "0.6.9" | 1599 | version = "0.6.10" |
1599 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1600 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1600 | 1601 | ||
1601 | [[package]] | 1602 | [[package]] |
@@ -1629,7 +1630,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1629 | 1630 | ||
1630 | [[package]] | 1631 | [[package]] |
1631 | name = "syn" | 1632 | name = "syn" |
1632 | version = "0.15.34" | 1633 | version = "0.15.36" |
1633 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1634 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1634 | dependencies = [ | 1635 | dependencies = [ |
1635 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 1636 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1644,7 +1645,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1644 | dependencies = [ | 1645 | dependencies = [ |
1645 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", | 1646 | "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", |
1646 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", | 1647 | "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", |
1647 | "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", | 1648 | "syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)", |
1648 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1649 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1649 | ] | 1650 | ] |
1650 | 1651 | ||
@@ -1657,7 +1658,7 @@ dependencies = [ | |||
1657 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 1658 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", |
1658 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", | 1659 | "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", |
1659 | "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", | 1660 | "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", |
1660 | "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1661 | "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1661 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | 1662 | "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", |
1662 | ] | 1663 | ] |
1663 | 1664 | ||
@@ -1673,7 +1674,7 @@ dependencies = [ | |||
1673 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1674 | "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1674 | "pest 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1675 | "pest 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1675 | "pest_derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1676 | "pest_derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1676 | "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | 1677 | "regex 1.1.7 (registry+https://github.com/rust-lang/crates.io-index)", |
1677 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", | 1678 | "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", |
1678 | "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", | 1679 | "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", |
1679 | "slug 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | 1680 | "slug 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1693,7 +1694,7 @@ dependencies = [ | |||
1693 | 1694 | ||
1694 | [[package]] | 1695 | [[package]] |
1695 | name = "termion" | 1696 | name = "termion" |
1696 | version = "1.5.2" | 1697 | version = "1.5.3" |
1697 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1698 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1698 | dependencies = [ | 1699 | dependencies = [ |
1699 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", | 1700 | "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1757,7 +1758,7 @@ name = "threadpool" | |||
1757 | version = "1.7.1" | 1758 | version = "1.7.1" |
1758 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1759 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1759 | dependencies = [ | 1760 | dependencies = [ |
1760 | "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1761 | "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1761 | ] | 1762 | ] |
1762 | 1763 | ||
1763 | [[package]] | 1764 | [[package]] |
@@ -1850,7 +1851,7 @@ name = "unicode-normalization" | |||
1850 | version = "0.1.8" | 1851 | version = "0.1.8" |
1851 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1852 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1852 | dependencies = [ | 1853 | dependencies = [ |
1853 | "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", | 1854 | "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", |
1854 | ] | 1855 | ] |
1855 | 1856 | ||
1856 | [[package]] | 1857 | [[package]] |
@@ -1889,7 +1890,7 @@ dependencies = [ | |||
1889 | 1890 | ||
1890 | [[package]] | 1891 | [[package]] |
1891 | name = "utf8-ranges" | 1892 | name = "utf8-ranges" |
1892 | version = "1.0.2" | 1893 | version = "1.0.3" |
1893 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1894 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1894 | 1895 | ||
1895 | [[package]] | 1896 | [[package]] |
@@ -1913,7 +1914,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1913 | 1914 | ||
1914 | [[package]] | 1915 | [[package]] |
1915 | name = "walkdir" | 1916 | name = "walkdir" |
1916 | version = "2.2.7" | 1917 | version = "2.2.8" |
1917 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1918 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1918 | dependencies = [ | 1919 | dependencies = [ |
1919 | "same-file 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | 1920 | "same-file 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1975,6 +1976,11 @@ dependencies = [ | |||
1975 | "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", | 1976 | "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", |
1976 | ] | 1977 | ] |
1977 | 1978 | ||
1979 | [[package]] | ||
1980 | name = "yansi" | ||
1981 | version = "0.5.0" | ||
1982 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1983 | |||
1978 | [metadata] | 1984 | [metadata] |
1979 | "checksum aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f484ae0c99fec2e858eb6134949117399f222608d84cadb3f58c1f97c2364c" | 1985 | "checksum aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f484ae0c99fec2e858eb6134949117399f222608d84cadb3f58c1f97c2364c" |
1980 | "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" | 1986 | "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" |
@@ -1990,8 +1996,8 @@ dependencies = [ | |||
1990 | "checksum block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" | 1996 | "checksum block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" |
1991 | "checksum block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4dc3af3ee2e12f3e5d224e5e1e3d73668abbeb69e566d361f7d5563a4fdf09" | 1997 | "checksum block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4dc3af3ee2e12f3e5d224e5e1e3d73668abbeb69e566d361f7d5563a4fdf09" |
1992 | "checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" | 1998 | "checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" |
1993 | "checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb" | 1999 | "checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5" |
1994 | "checksum cargo_metadata 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "178d62b240c34223f265a4c1e275e37d62da163d421fc8d7f7e3ee340f803c57" | 2000 | "checksum cargo_metadata 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "929766d993a2fde7a0ae962ee82429069cd7b68839cd9375b98efd719df65d3a" |
1995 | "checksum cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)" = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d" | 2001 | "checksum cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)" = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d" |
1996 | "checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33" | 2002 | "checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33" |
1997 | "checksum chalk-engine 0.9.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)" = "<none>" | 2003 | "checksum chalk-engine 0.9.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)" = "<none>" |
@@ -2005,11 +2011,11 @@ dependencies = [ | |||
2005 | "checksum clicolors-control 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "73abfd4c73d003a674ce5d2933fca6ce6c42480ea84a5ffe0a2dc39ed56300f9" | 2011 | "checksum clicolors-control 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "73abfd4c73d003a674ce5d2933fca6ce6c42480ea84a5ffe0a2dc39ed56300f9" |
2006 | "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" | 2012 | "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" |
2007 | "checksum colosseum 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "370c83b49aedf022ee27942e8ae1d9de1cf40dc9653ee6550e4455d08f6406f9" | 2013 | "checksum colosseum 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "370c83b49aedf022ee27942e8ae1d9de1cf40dc9653ee6550e4455d08f6406f9" |
2008 | "checksum console 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" = "2bf3720d3f3fc30b721ef1ae54e13af3264af4af39dc476a8de56a6ee1e2184b" | 2014 | "checksum console 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8ca57c2c14b8a2bf3105bc9d15574aad80babf6a9c44b1058034cdf8bd169628" |
2009 | "checksum crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0f0ed1a4de2235cabda8558ff5840bffb97fcb64c97827f354a451307df5f72b" | 2015 | "checksum crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0f0ed1a4de2235cabda8558ff5840bffb97fcb64c97827f354a451307df5f72b" |
2010 | "checksum crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3" | 2016 | "checksum crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13" |
2011 | "checksum crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150" | 2017 | "checksum crossbeam-epoch 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "04c9e3102cc2d69cd681412141b390abd55a362afc1540965dad0ad4d34280b4" |
2012 | "checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9" | 2018 | "checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" |
2013 | "checksum crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f8306fcef4a7b563b76b7dd949ca48f52bc1141aa067d2ea09565f3e2652aa5c" | 2019 | "checksum crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f8306fcef4a7b563b76b7dd949ca48f52bc1141aa067d2ea09565f3e2652aa5c" |
2014 | "checksum derive-new 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "6ca414e896ae072546f4d789f452daaecf60ddee4c9df5dc6d5936d769e3d87c" | 2020 | "checksum derive-new 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "6ca414e896ae072546f4d789f452daaecf60ddee4c9df5dc6d5936d769e3d87c" |
2015 | "checksum deunicode 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "850878694b7933ca4c9569d30a34b55031b9b139ee1fc7b94a527c4ef960d690" | 2021 | "checksum deunicode 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "850878694b7933ca4c9569d30a34b55031b9b139ee1fc7b94a527c4ef960d690" |
@@ -2019,7 +2025,7 @@ dependencies = [ | |||
2019 | "checksum dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" | 2025 | "checksum dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" |
2020 | "checksum either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5527cfe0d098f36e3f8839852688e63c8fff1c90b2b405aef730615f9a7bcf7b" | 2026 | "checksum either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5527cfe0d098f36e3f8839852688e63c8fff1c90b2b405aef730615f9a7bcf7b" |
2021 | "checksum ena 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "25b4e5febb25f08c49f1b07dc33a182729a6b21edfb562b5aef95f78e0dbe5bb" | 2027 | "checksum ena 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "25b4e5febb25f08c49f1b07dc33a182729a6b21edfb562b5aef95f78e0dbe5bb" |
2022 | "checksum ena 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f56c93cc076508c549d9bb747f79aa9b4eb098be7b8cad8830c3137ef52d1e00" | 2028 | "checksum ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3dc01d68e08ca384955a3aeba9217102ca1aa85b6e168639bf27739f1d749d87" |
2023 | "checksum encode_unicode 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "90b2c9496c001e8cb61827acdefad780795c42264c137744cae6f7d9e3450abd" | 2029 | "checksum encode_unicode 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "90b2c9496c001e8cb61827acdefad780795c42264c137744cae6f7d9e3450abd" |
2024 | "checksum error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9" | 2030 | "checksum error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9" |
2025 | "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2" | 2031 | "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2" |
@@ -2027,7 +2033,7 @@ dependencies = [ | |||
2027 | "checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" | 2033 | "checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" |
2028 | "checksum filetime 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "2f8c63033fcba1f51ef744505b3cad42510432b904c062afa67ad7ece008429d" | 2034 | "checksum filetime 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "2f8c63033fcba1f51ef744505b3cad42510432b904c062afa67ad7ece008429d" |
2029 | "checksum fixedbitset 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "86d4de0081402f5e88cdac65c8dcdcc73118c1a7a465e2a05f0da05843a8ea33" | 2035 | "checksum fixedbitset 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "86d4de0081402f5e88cdac65c8dcdcc73118c1a7a465e2a05f0da05843a8ea33" |
2030 | "checksum flexi_logger 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ce5e9a2e15c8eb8dcf35565b92b9548e4787b9990528f1ef49d09e20bbeee5a7" | 2036 | "checksum flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e651f7ca90e082144feeb1b158603457d6704ba96b87530ba135bb55306064b1" |
2031 | "checksum fs_extra 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674" | 2037 | "checksum fs_extra 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674" |
2032 | "checksum fsevent 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5ab7d1bd1bd33cc98b0889831b72da23c0aa4df9cec7e0702f46ecea04b35db6" | 2038 | "checksum fsevent 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5ab7d1bd1bd33cc98b0889831b72da23c0aa4df9cec7e0702f46ecea04b35db6" |
2033 | "checksum fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f41b048a94555da0f42f1d632e2e19510084fb8e303b0daa2816e733fb3644a0" | 2039 | "checksum fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f41b048a94555da0f42f1d632e2e19510084fb8e303b0daa2816e733fb3644a0" |
@@ -2076,7 +2082,7 @@ dependencies = [ | |||
2076 | "checksum num-derive 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "eafd0b45c5537c3ba526f79d3e75120036502bebacbb3f3220914067ce39dbf2" | 2082 | "checksum num-derive 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "eafd0b45c5537c3ba526f79d3e75120036502bebacbb3f3220914067ce39dbf2" |
2077 | "checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" | 2083 | "checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" |
2078 | "checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32" | 2084 | "checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32" |
2079 | "checksum num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a23f0ed30a54abaa0c7e83b1d2d87ada7c3c23078d1d87815af3e3b6385fbba" | 2085 | "checksum num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273" |
2080 | "checksum number_prefix 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dbf9993e59c894e3c08aa1c2712914e9e6bf1fcbfc6bef283e2183df345a4fee" | 2086 | "checksum number_prefix 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dbf9993e59c894e3c08aa1c2712914e9e6bf1fcbfc6bef283e2183df345a4fee" |
2081 | "checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" | 2087 | "checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" |
2082 | "checksum once_cell 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4c7118943e044e53fb4f0400ba153201e7b3e1ee61f137d47aa45367223caa19" | 2088 | "checksum once_cell 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4c7118943e044e53fb4f0400ba153201e7b3e1ee61f137d47aa45367223caa19" |
@@ -2091,10 +2097,10 @@ dependencies = [ | |||
2091 | "checksum pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f249ea6de7c7b7aba92b4ff4376a994c6dbd98fd2166c89d5c4947397ecb574d" | 2097 | "checksum pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f249ea6de7c7b7aba92b4ff4376a994c6dbd98fd2166c89d5c4947397ecb574d" |
2092 | "checksum petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" = "9c3659d1ee90221741f65dd128d9998311b0e40c5d3c23a62445938214abce4f" | 2098 | "checksum petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" = "9c3659d1ee90221741f65dd128d9998311b0e40c5d3c23a62445938214abce4f" |
2093 | "checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" | 2099 | "checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" |
2094 | "checksum proptest 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2afed8cbdc8a64b58a5c021757a782351ec1afee85be374872721c84d5da5d80" | 2100 | "checksum proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cf147e022eacf0c8a054ab864914a7602618adba841d800a9a9868a5237a529f" |
2095 | "checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" | 2101 | "checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" |
2096 | "checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db" | 2102 | "checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db" |
2097 | "checksum ra_vfs 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "70927388fff29059b93221d2bad05167788a41cbf1302504f9ed5918d0654ce8" | 2103 | "checksum ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb7cd4e302032c5ab514f1c01c89727cd96fd950dd36f9ebee9252df45d9fb1a" |
2098 | "checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" | 2104 | "checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" |
2099 | "checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" | 2105 | "checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" |
2100 | "checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" | 2106 | "checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" |
@@ -2105,17 +2111,17 @@ dependencies = [ | |||
2105 | "checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" | 2111 | "checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" |
2106 | "checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" | 2112 | "checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" |
2107 | "checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" | 2113 | "checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" |
2108 | "checksum rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "373814f27745b2686b350dd261bfd24576a6fb0e2c5919b3a2b6005f820b0473" | 2114 | "checksum rayon 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a4b0186e22767d5b9738a05eab7c6ac90b15db17e5b5f9bd87976dd7d89a10a4" |
2109 | "checksum rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b055d1e92aba6877574d8fe604a63c8b5df60f60e5982bf7ccbb1338ea527356" | 2115 | "checksum rayon-core 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ebbe0df8435ac0c397d467b6cad6d25543d06e8a019ef3f6af3c384597515bd2" |
2110 | "checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" | 2116 | "checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" |
2111 | "checksum redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)" = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252" | 2117 | "checksum redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)" = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252" |
2112 | "checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" | 2118 | "checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" |
2113 | "checksum regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "8f0a0bcab2fd7d1d7c54fa9eae6f43eddeb9ce2e7352f8518a814a4f65d60c58" | 2119 | "checksum regex 1.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "0b2f0808e7d7e4fb1cb07feb6ff2f4bc827938f24f8c2e6a3beb7370af544bdd" |
2114 | "checksum regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "dcfd8681eebe297b81d98498869d4aae052137651ad7b96822f09ceb690d0a96" | 2120 | "checksum regex-syntax 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "9d76410686f9e3a17f06128962e0ecc5755870bb890c34820c7af7f1db2e1d48" |
2115 | "checksum relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0e7790c7f1cc73d831d28dc5a7deb316a006e7848e6a7f467cdb10a0a9e0fb1c" | 2121 | "checksum relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0e7790c7f1cc73d831d28dc5a7deb316a006e7848e6a7f467cdb10a0a9e0fb1c" |
2116 | "checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5" | 2122 | "checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e" |
2117 | "checksum ron 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "17f52a24414403f81528b67488cf8edc4eda977d3af1646bb6b106a600ead78f" | 2123 | "checksum ron 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "17f52a24414403f81528b67488cf8edc4eda977d3af1646bb6b106a600ead78f" |
2118 | "checksum rowan 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbbf724d1e1f30669766ffc7e2490cd942d3b792367c12f9b00852b506b659f9" | 2124 | "checksum rowan 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "695dbacb8b8e077caf0cdeb65b0fe0c27bd99a9b7bf5f6467681c4c94cbe6133" |
2119 | "checksum rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "a7f4dccf6f4891ebcc0c39f9b6eb1a83b9bf5d747cb439ec6fba4f3b977038af" | 2125 | "checksum rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "a7f4dccf6f4891ebcc0c39f9b6eb1a83b9bf5d747cb439ec6fba4f3b977038af" |
2120 | "checksum rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8" | 2126 | "checksum rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8" |
2121 | "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" | 2127 | "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" |
@@ -2134,17 +2140,17 @@ dependencies = [ | |||
2134 | "checksum sha-1 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "23962131a91661d643c98940b20fcaffe62d776a823247be80a48fcb8b6fce68" | 2140 | "checksum sha-1 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "23962131a91661d643c98940b20fcaffe62d776a823247be80a48fcb8b6fce68" |
2135 | "checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" | 2141 | "checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" |
2136 | "checksum slug 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373" | 2142 | "checksum slug 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373" |
2137 | "checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be" | 2143 | "checksum smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ab606a9c5e214920bb66c458cd7be8ef094f813f20fe77a54cc7dbfff220d4b7" |
2138 | "checksum smol_str 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e6507d018aa8dfcaa08aaab587605591cd2109df66a921486a2220e2daf9fa29" | 2144 | "checksum smol_str 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e6507d018aa8dfcaa08aaab587605591cd2109df66a921486a2220e2daf9fa29" |
2139 | "checksum stacker 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb79482f57cf598af52094ec4cc3b3c42499d3ce5bd426f2ac41515b7e57404b" | 2145 | "checksum stacker 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb79482f57cf598af52094ec4cc3b3c42499d3ce5bd426f2ac41515b7e57404b" |
2140 | "checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" | 2146 | "checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" |
2141 | "checksum superslice 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ab16ced94dbd8a46c82fd81e3ed9a8727dac2977ea869d217bcc4ea1f122e81f" | 2147 | "checksum superslice 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ab16ced94dbd8a46c82fd81e3ed9a8727dac2977ea869d217bcc4ea1f122e81f" |
2142 | "checksum syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)" = "a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe" | 2148 | "checksum syn 0.15.36 (registry+https://github.com/rust-lang/crates.io-index)" = "8b4f551a91e2e3848aeef8751d0d4eec9489b6474c720fd4c55958d8d31a430c" |
2143 | "checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f" | 2149 | "checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f" |
2144 | "checksum tempfile 3.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7dc4738f2e68ed2855de5ac9cdbe05c9216773ecde4739b2f095002ab03a13ef" | 2150 | "checksum tempfile 3.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7dc4738f2e68ed2855de5ac9cdbe05c9216773ecde4739b2f095002ab03a13ef" |
2145 | "checksum tera 0.11.20 (registry+https://github.com/rust-lang/crates.io-index)" = "4b505279e19d8f7d24b1a9dc58327c9c36174b1a2c7ebdeac70792d017cb64f3" | 2151 | "checksum tera 0.11.20 (registry+https://github.com/rust-lang/crates.io-index)" = "4b505279e19d8f7d24b1a9dc58327c9c36174b1a2c7ebdeac70792d017cb64f3" |
2146 | "checksum teraron 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9a447d012fef5c222f4b11a98fcef2a7e347a57f28be9957c5c390ac9a0e41e0" | 2152 | "checksum teraron 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9a447d012fef5c222f4b11a98fcef2a7e347a57f28be9957c5c390ac9a0e41e0" |
2147 | "checksum termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea" | 2153 | "checksum termion 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a8fb22f7cde82c8220e5aeacb3258ed7ce996142c77cba193f203515e26c330" |
2148 | "checksum termios 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "72b620c5ea021d75a735c943269bb07d30c9b77d6ac6b236bc8b5c496ef05625" | 2154 | "checksum termios 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "72b620c5ea021d75a735c943269bb07d30c9b77d6ac6b236bc8b5c496ef05625" |
2149 | "checksum text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e08bbcb7a3adbda0eb23431206b653bdad3d8dea311e72d36bf2215e27a42579" | 2155 | "checksum text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e08bbcb7a3adbda0eb23431206b653bdad3d8dea311e72d36bf2215e27a42579" |
2150 | "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" | 2156 | "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" |
@@ -2168,11 +2174,11 @@ dependencies = [ | |||
2168 | "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" | 2174 | "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" |
2169 | "checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" | 2175 | "checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" |
2170 | "checksum url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea" | 2176 | "checksum url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea" |
2171 | "checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737" | 2177 | "checksum utf8-ranges 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9d50aa7650df78abf942826607c62468ce18d9019673d4a2ebe1865dbb96ffde" |
2172 | "checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" | 2178 | "checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" |
2173 | "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" | 2179 | "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" |
2174 | "checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" | 2180 | "checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" |
2175 | "checksum walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "9d9d7ed3431229a144296213105a390676cc49c9b6a72bd19f3176c98e129fa1" | 2181 | "checksum walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "c7904a7e2bb3cdf0cf5e783f44204a85a37a93151738fa349f06680f59a98b45" |
2176 | "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" | 2182 | "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" |
2177 | "checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" | 2183 | "checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" |
2178 | "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" | 2184 | "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" |
@@ -2181,3 +2187,4 @@ dependencies = [ | |||
2181 | "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | 2187 | "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" |
2182 | "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" | 2188 | "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" |
2183 | "checksum yaml-rust 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "65923dd1784f44da1d2c3dbbc5e822045628c590ba72123e1c73d3c230c4434d" | 2189 | "checksum yaml-rust 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "65923dd1784f44da1d2c3dbbc5e822045628c590ba72123e1c73d3c230c4434d" |
2190 | "checksum yansi 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9fc79f4a1e39857fc00c3f662cbf2651c771f00e9c15fe2abc341806bd46bd71" | ||
diff --git a/crates/gen_lsp_server/Cargo.toml b/crates/gen_lsp_server/Cargo.toml index d375606d0..d14bcf694 100644 --- a/crates/gen_lsp_server/Cargo.toml +++ b/crates/gen_lsp_server/Cargo.toml | |||
@@ -15,4 +15,4 @@ serde = { version = "1.0.83", features = ["derive"] } | |||
15 | crossbeam-channel = "0.3.5" | 15 | crossbeam-channel = "0.3.5" |
16 | 16 | ||
17 | [dev-dependencies] | 17 | [dev-dependencies] |
18 | flexi_logger = "0.11.0" | 18 | flexi_logger = "0.13.0" |
diff --git a/crates/ra_cli/Cargo.toml b/crates/ra_cli/Cargo.toml index 57bd0c3d7..301145b5d 100644 --- a/crates/ra_cli/Cargo.toml +++ b/crates/ra_cli/Cargo.toml | |||
@@ -8,7 +8,7 @@ publish = false | |||
8 | [dependencies] | 8 | [dependencies] |
9 | clap = "2.32.0" | 9 | clap = "2.32.0" |
10 | join_to_string = "0.1.1" | 10 | join_to_string = "0.1.1" |
11 | flexi_logger = "0.11.0" | 11 | flexi_logger = "0.13.0" |
12 | indicatif = "0.11.0" | 12 | indicatif = "0.11.0" |
13 | 13 | ||
14 | ra_syntax = { path = "../ra_syntax" } | 14 | ra_syntax = { path = "../ra_syntax" } |
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs index a5f4e489f..c103503bd 100644 --- a/crates/ra_db/src/input.rs +++ b/crates/ra_db/src/input.rs | |||
@@ -31,9 +31,23 @@ pub struct SourceRootId(pub u32); | |||
31 | 31 | ||
32 | #[derive(Default, Clone, Debug, PartialEq, Eq)] | 32 | #[derive(Default, Clone, Debug, PartialEq, Eq)] |
33 | pub struct SourceRoot { | 33 | pub struct SourceRoot { |
34 | /// Sysroot or crates.io library. | ||
35 | /// | ||
36 | /// Libraries are considered mostly immutable, this assumption is used to | ||
37 | /// optimize salsa's query structure | ||
38 | pub is_library: bool, | ||
34 | pub files: FxHashMap<RelativePathBuf, FileId>, | 39 | pub files: FxHashMap<RelativePathBuf, FileId>, |
35 | } | 40 | } |
36 | 41 | ||
42 | impl SourceRoot { | ||
43 | pub fn new() -> SourceRoot { | ||
44 | Default::default() | ||
45 | } | ||
46 | pub fn new_library() -> SourceRoot { | ||
47 | SourceRoot { is_library: true, ..SourceRoot::new() } | ||
48 | } | ||
49 | } | ||
50 | |||
37 | /// `CrateGraph` is a bit of information which turns a set of text files into a | 51 | /// `CrateGraph` is a bit of information which turns a set of text files into a |
38 | /// number of Rust crates. Each crate is defined by the `FileId` of its root module, | 52 | /// number of Rust crates. Each crate is defined by the `FileId` of its root module, |
39 | /// the set of cfg flags (not yet implemented) and the set of dependencies. Note | 53 | /// the set of cfg flags (not yet implemented) and the set of dependencies. Note |
diff --git a/crates/ra_hir/Cargo.toml b/crates/ra_hir/Cargo.toml index aaace85e5..e44e144d6 100644 --- a/crates/ra_hir/Cargo.toml +++ b/crates/ra_hir/Cargo.toml | |||
@@ -10,7 +10,7 @@ log = "0.4.5" | |||
10 | relative-path = "0.4.0" | 10 | relative-path = "0.4.0" |
11 | rustc-hash = "1.0" | 11 | rustc-hash = "1.0" |
12 | parking_lot = "0.8.0" | 12 | parking_lot = "0.8.0" |
13 | ena = "0.11" | 13 | ena = "0.13" |
14 | join_to_string = "0.1.3" | 14 | join_to_string = "0.1.3" |
15 | once_cell = "0.2" | 15 | once_cell = "0.2" |
16 | 16 | ||
@@ -28,5 +28,5 @@ chalk-ir = { git = "https://github.com/flodiebold/chalk.git", branch = "fuel" } | |||
28 | lalrpop-intern = "0.15.1" | 28 | lalrpop-intern = "0.15.1" |
29 | 29 | ||
30 | [dev-dependencies] | 30 | [dev-dependencies] |
31 | flexi_logger = "0.11.0" | 31 | flexi_logger = "0.13.0" |
32 | insta = "0.8.1" | 32 | insta = "0.8.1" |
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index 6602d1220..ebbc37c0e 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -282,7 +282,7 @@ impl Module { | |||
282 | .collect() | 282 | .collect() |
283 | } | 283 | } |
284 | 284 | ||
285 | pub fn impl_blocks(self, db: &impl HirDatabase) -> Vec<ImplBlock> { | 285 | pub fn impl_blocks(self, db: &impl DefDatabase) -> Vec<ImplBlock> { |
286 | let module_impl_blocks = db.impls_in_module(self); | 286 | let module_impl_blocks = db.impls_in_module(self); |
287 | module_impl_blocks | 287 | module_impl_blocks |
288 | .impls | 288 | .impls |
@@ -519,9 +519,8 @@ pub struct Function { | |||
519 | pub(crate) id: FunctionId, | 519 | pub(crate) id: FunctionId, |
520 | } | 520 | } |
521 | 521 | ||
522 | /// The declared signature of a function. | ||
523 | #[derive(Debug, Clone, PartialEq, Eq)] | 522 | #[derive(Debug, Clone, PartialEq, Eq)] |
524 | pub struct FnSignature { | 523 | pub struct FnData { |
525 | pub(crate) name: Name, | 524 | pub(crate) name: Name, |
526 | pub(crate) params: Vec<TypeRef>, | 525 | pub(crate) params: Vec<TypeRef>, |
527 | pub(crate) ret_type: TypeRef, | 526 | pub(crate) ret_type: TypeRef, |
@@ -530,11 +529,11 @@ pub struct FnSignature { | |||
530 | pub(crate) has_self_param: bool, | 529 | pub(crate) has_self_param: bool, |
531 | } | 530 | } |
532 | 531 | ||
533 | impl FnSignature { | 532 | impl FnData { |
534 | pub(crate) fn fn_signature_query( | 533 | pub(crate) fn fn_data_query( |
535 | db: &(impl DefDatabase + AstDatabase), | 534 | db: &(impl DefDatabase + AstDatabase), |
536 | func: Function, | 535 | func: Function, |
537 | ) -> Arc<FnSignature> { | 536 | ) -> Arc<FnData> { |
538 | let src = func.source(db); | 537 | let src = func.source(db); |
539 | let name = src.ast.name().map(|n| n.as_name()).unwrap_or_else(Name::missing); | 538 | let name = src.ast.name().map(|n| n.as_name()).unwrap_or_else(Name::missing); |
540 | let mut params = Vec::new(); | 539 | let mut params = Vec::new(); |
@@ -569,7 +568,7 @@ impl FnSignature { | |||
569 | TypeRef::unit() | 568 | TypeRef::unit() |
570 | }; | 569 | }; |
571 | 570 | ||
572 | let sig = FnSignature { name, params, ret_type, has_self_param }; | 571 | let sig = FnData { name, params, ret_type, has_self_param }; |
573 | Arc::new(sig) | 572 | Arc::new(sig) |
574 | } | 573 | } |
575 | pub fn name(&self) -> &Name { | 574 | pub fn name(&self) -> &Name { |
@@ -597,7 +596,7 @@ impl Function { | |||
597 | } | 596 | } |
598 | 597 | ||
599 | pub fn name(self, db: &impl HirDatabase) -> Name { | 598 | pub fn name(self, db: &impl HirDatabase) -> Name { |
600 | self.signature(db).name.clone() | 599 | self.data(db).name.clone() |
601 | } | 600 | } |
602 | 601 | ||
603 | pub(crate) fn body_source_map(self, db: &impl HirDatabase) -> Arc<BodySourceMap> { | 602 | pub(crate) fn body_source_map(self, db: &impl HirDatabase) -> Arc<BodySourceMap> { |
@@ -612,8 +611,8 @@ impl Function { | |||
612 | db.type_for_def(self.into(), Namespace::Values) | 611 | db.type_for_def(self.into(), Namespace::Values) |
613 | } | 612 | } |
614 | 613 | ||
615 | pub fn signature(self, db: &impl HirDatabase) -> Arc<FnSignature> { | 614 | pub fn data(self, db: &impl HirDatabase) -> Arc<FnData> { |
616 | db.fn_signature(self) | 615 | db.fn_data(self) |
617 | } | 616 | } |
618 | 617 | ||
619 | pub fn infer(self, db: &impl HirDatabase) -> Arc<InferenceResult> { | 618 | pub fn infer(self, db: &impl HirDatabase) -> Arc<InferenceResult> { |
@@ -670,8 +669,8 @@ impl Const { | |||
670 | self.id.module(db) | 669 | self.id.module(db) |
671 | } | 670 | } |
672 | 671 | ||
673 | pub fn signature(self, db: &impl HirDatabase) -> Arc<ConstSignature> { | 672 | pub fn data(self, db: &impl HirDatabase) -> Arc<ConstData> { |
674 | db.const_signature(self) | 673 | db.const_data(self) |
675 | } | 674 | } |
676 | 675 | ||
677 | pub fn infer(self, db: &impl HirDatabase) -> Arc<InferenceResult> { | 676 | pub fn infer(self, db: &impl HirDatabase) -> Arc<InferenceResult> { |
@@ -696,14 +695,13 @@ impl Const { | |||
696 | } | 695 | } |
697 | } | 696 | } |
698 | 697 | ||
699 | /// The declared signature of a const. | ||
700 | #[derive(Debug, Clone, PartialEq, Eq)] | 698 | #[derive(Debug, Clone, PartialEq, Eq)] |
701 | pub struct ConstSignature { | 699 | pub struct ConstData { |
702 | pub(crate) name: Name, | 700 | pub(crate) name: Name, |
703 | pub(crate) type_ref: TypeRef, | 701 | pub(crate) type_ref: TypeRef, |
704 | } | 702 | } |
705 | 703 | ||
706 | impl ConstSignature { | 704 | impl ConstData { |
707 | pub fn name(&self) -> &Name { | 705 | pub fn name(&self) -> &Name { |
708 | &self.name | 706 | &self.name |
709 | } | 707 | } |
@@ -712,27 +710,27 @@ impl ConstSignature { | |||
712 | &self.type_ref | 710 | &self.type_ref |
713 | } | 711 | } |
714 | 712 | ||
715 | pub(crate) fn const_signature_query( | 713 | pub(crate) fn const_data_query( |
716 | db: &(impl DefDatabase + AstDatabase), | 714 | db: &(impl DefDatabase + AstDatabase), |
717 | konst: Const, | 715 | konst: Const, |
718 | ) -> Arc<ConstSignature> { | 716 | ) -> Arc<ConstData> { |
719 | let node = konst.source(db).ast; | 717 | let node = konst.source(db).ast; |
720 | const_signature_for(&*node) | 718 | const_data_for(&*node) |
721 | } | 719 | } |
722 | 720 | ||
723 | pub(crate) fn static_signature_query( | 721 | pub(crate) fn static_data_query( |
724 | db: &(impl DefDatabase + AstDatabase), | 722 | db: &(impl DefDatabase + AstDatabase), |
725 | konst: Static, | 723 | konst: Static, |
726 | ) -> Arc<ConstSignature> { | 724 | ) -> Arc<ConstData> { |
727 | let node = konst.source(db).ast; | 725 | let node = konst.source(db).ast; |
728 | const_signature_for(&*node) | 726 | const_data_for(&*node) |
729 | } | 727 | } |
730 | } | 728 | } |
731 | 729 | ||
732 | fn const_signature_for<N: NameOwner + TypeAscriptionOwner>(node: &N) -> Arc<ConstSignature> { | 730 | fn const_data_for<N: NameOwner + TypeAscriptionOwner>(node: &N) -> Arc<ConstData> { |
733 | let name = node.name().map(|n| n.as_name()).unwrap_or_else(Name::missing); | 731 | let name = node.name().map(|n| n.as_name()).unwrap_or_else(Name::missing); |
734 | let type_ref = TypeRef::from_ast_opt(node.ascribed_type()); | 732 | let type_ref = TypeRef::from_ast_opt(node.ascribed_type()); |
735 | let sig = ConstSignature { name, type_ref }; | 733 | let sig = ConstData { name, type_ref }; |
736 | Arc::new(sig) | 734 | Arc::new(sig) |
737 | } | 735 | } |
738 | 736 | ||
@@ -746,8 +744,8 @@ impl Static { | |||
746 | self.id.module(db) | 744 | self.id.module(db) |
747 | } | 745 | } |
748 | 746 | ||
749 | pub fn signature(self, db: &impl HirDatabase) -> Arc<ConstSignature> { | 747 | pub fn data(self, db: &impl HirDatabase) -> Arc<ConstData> { |
750 | db.static_signature(self) | 748 | db.static_data(self) |
751 | } | 749 | } |
752 | 750 | ||
753 | /// Builds a resolver for code inside this item. | 751 | /// Builds a resolver for code inside this item. |
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs index c4dd54596..d8832a9de 100644 --- a/crates/ra_hir/src/db.rs +++ b/crates/ra_hir/src/db.rs | |||
@@ -6,9 +6,9 @@ use ra_db::{SourceDatabase, salsa}; | |||
6 | 6 | ||
7 | use crate::{ | 7 | use crate::{ |
8 | HirFileId, MacroDefId, AstIdMap, ErasedFileAstId, Crate, Module, MacroCallLoc, | 8 | HirFileId, MacroDefId, AstIdMap, ErasedFileAstId, Crate, Module, MacroCallLoc, |
9 | Function, FnSignature, ExprScopes, TypeAlias, | 9 | Function, FnData, ExprScopes, TypeAlias, |
10 | Struct, Enum, StructField, | 10 | Struct, Enum, StructField, |
11 | Const, ConstSignature, Static, | 11 | Const, ConstData, Static, |
12 | DefWithBody, Trait, | 12 | DefWithBody, Trait, |
13 | ids, | 13 | ids, |
14 | nameres::{Namespace, ImportSourceMap, RawItems, CrateDefMap}, | 14 | nameres::{Namespace, ImportSourceMap, RawItems, CrateDefMap}, |
@@ -109,17 +109,20 @@ pub trait DefDatabase: SourceDatabase { | |||
109 | #[salsa::invoke(crate::generics::GenericParams::generic_params_query)] | 109 | #[salsa::invoke(crate::generics::GenericParams::generic_params_query)] |
110 | fn generic_params(&self, def: GenericDef) -> Arc<GenericParams>; | 110 | fn generic_params(&self, def: GenericDef) -> Arc<GenericParams>; |
111 | 111 | ||
112 | #[salsa::invoke(crate::FnSignature::fn_signature_query)] | 112 | #[salsa::invoke(crate::FnData::fn_data_query)] |
113 | fn fn_signature(&self, func: Function) -> Arc<FnSignature>; | 113 | fn fn_data(&self, func: Function) -> Arc<FnData>; |
114 | 114 | ||
115 | #[salsa::invoke(crate::type_alias::type_alias_data_query)] | 115 | #[salsa::invoke(crate::type_alias::type_alias_data_query)] |
116 | fn type_alias_data(&self, typ: TypeAlias) -> Arc<TypeAliasData>; | 116 | fn type_alias_data(&self, typ: TypeAlias) -> Arc<TypeAliasData>; |
117 | 117 | ||
118 | #[salsa::invoke(crate::ConstSignature::const_signature_query)] | 118 | #[salsa::invoke(crate::ConstData::const_data_query)] |
119 | fn const_signature(&self, konst: Const) -> Arc<ConstSignature>; | 119 | fn const_data(&self, konst: Const) -> Arc<ConstData>; |
120 | 120 | ||
121 | #[salsa::invoke(crate::ConstSignature::static_signature_query)] | 121 | #[salsa::invoke(crate::ConstData::static_data_query)] |
122 | fn static_signature(&self, konst: Static) -> Arc<ConstSignature>; | 122 | fn static_data(&self, konst: Static) -> Arc<ConstData>; |
123 | |||
124 | #[salsa::invoke(crate::lang_item::LangItems::module_lang_items_query)] | ||
125 | fn module_lang_items(&self, module: Module) -> Option<Arc<LangItems>>; | ||
123 | 126 | ||
124 | #[salsa::invoke(crate::lang_item::LangItems::lang_items_query)] | 127 | #[salsa::invoke(crate::lang_item::LangItems::lang_items_query)] |
125 | fn lang_items(&self, krate: Crate) -> Arc<LangItems>; | 128 | fn lang_items(&self, krate: Crate) -> Arc<LangItems>; |
diff --git a/crates/ra_hir/src/lang_item.rs b/crates/ra_hir/src/lang_item.rs index 18ac0fcf9..48b60f2dd 100644 --- a/crates/ra_hir/src/lang_item.rs +++ b/crates/ra_hir/src/lang_item.rs | |||
@@ -31,7 +31,7 @@ impl LangItemTarget { | |||
31 | } | 31 | } |
32 | } | 32 | } |
33 | 33 | ||
34 | #[derive(Debug, Clone, PartialEq, Eq)] | 34 | #[derive(Default, Debug, Clone, PartialEq, Eq)] |
35 | pub struct LangItems { | 35 | pub struct LangItems { |
36 | items: FxHashMap<SmolStr, LangItemTarget>, | 36 | items: FxHashMap<SmolStr, LangItemTarget>, |
37 | } | 37 | } |
@@ -46,15 +46,28 @@ impl LangItems { | |||
46 | db: &(impl DefDatabase + AstDatabase), | 46 | db: &(impl DefDatabase + AstDatabase), |
47 | krate: Crate, | 47 | krate: Crate, |
48 | ) -> Arc<LangItems> { | 48 | ) -> Arc<LangItems> { |
49 | let mut lang_items = LangItems { items: FxHashMap::default() }; | 49 | let mut lang_items = LangItems::default(); |
50 | 50 | ||
51 | if let Some(module) = krate.root_module(db) { | 51 | if let Some(module) = krate.root_module(db) { |
52 | lang_items.collect_lang_items_recursive(db, &module); | 52 | lang_items.collect_lang_items_recursive(db, module); |
53 | } | 53 | } |
54 | 54 | ||
55 | Arc::new(lang_items) | 55 | Arc::new(lang_items) |
56 | } | 56 | } |
57 | 57 | ||
58 | pub(crate) fn module_lang_items_query( | ||
59 | db: &(impl DefDatabase + AstDatabase), | ||
60 | module: Module, | ||
61 | ) -> Option<Arc<LangItems>> { | ||
62 | let mut lang_items = LangItems::default(); | ||
63 | lang_items.collect_lang_items(db, module); | ||
64 | if lang_items.items.is_empty() { | ||
65 | None | ||
66 | } else { | ||
67 | Some(Arc::new(lang_items)) | ||
68 | } | ||
69 | } | ||
70 | |||
58 | /// Salsa query. Look for a lang item, starting from the specified crate and recursively | 71 | /// Salsa query. Look for a lang item, starting from the specified crate and recursively |
59 | /// traversing its dependencies. | 72 | /// traversing its dependencies. |
60 | pub(crate) fn lang_item_query( | 73 | pub(crate) fn lang_item_query( |
@@ -78,19 +91,14 @@ impl LangItems { | |||
78 | } | 91 | } |
79 | } | 92 | } |
80 | 93 | ||
81 | fn collect_lang_items_recursive( | 94 | fn collect_lang_items(&mut self, db: &(impl DefDatabase + AstDatabase), module: Module) { |
82 | &mut self, | ||
83 | db: &(impl DefDatabase + AstDatabase), | ||
84 | module: &Module, | ||
85 | ) { | ||
86 | // Look for impl targets | 95 | // Look for impl targets |
87 | let (impl_blocks, source_map) = db.impls_in_module_with_source_map(module.clone()); | 96 | for impl_block in module.impl_blocks(db) { |
88 | let source = module.definition_source(db).ast; | 97 | let src = impl_block.source(db); |
89 | for (impl_id, _) in impl_blocks.impls.iter() { | 98 | if let Some(lang_item_name) = lang_item_name(&*src.ast) { |
90 | let impl_block = source_map.get(&source, impl_id); | 99 | self.items |
91 | if let Some(lang_item_name) = lang_item_name(&*impl_block) { | 100 | .entry(lang_item_name) |
92 | let imp = ImplBlock::from_id(*module, impl_id); | 101 | .or_insert_with(|| LangItemTarget::ImplBlock(impl_block)); |
93 | self.items.entry(lang_item_name).or_insert_with(|| LangItemTarget::ImplBlock(imp)); | ||
94 | } | 102 | } |
95 | } | 103 | } |
96 | 104 | ||
@@ -106,10 +114,20 @@ impl LangItems { | |||
106 | _ => {} | 114 | _ => {} |
107 | } | 115 | } |
108 | } | 116 | } |
117 | } | ||
118 | |||
119 | fn collect_lang_items_recursive( | ||
120 | &mut self, | ||
121 | db: &(impl DefDatabase + AstDatabase), | ||
122 | module: Module, | ||
123 | ) { | ||
124 | if let Some(module_lang_items) = db.module_lang_items(module) { | ||
125 | self.items.extend(module_lang_items.items.iter().map(|(k, v)| (k.clone(), v.clone()))) | ||
126 | } | ||
109 | 127 | ||
110 | // Look for lang items in the children | 128 | // Look for lang items in the children |
111 | for child in module.children(db) { | 129 | for child in module.children(db) { |
112 | self.collect_lang_items_recursive(db, &child); | 130 | self.collect_lang_items_recursive(db, child); |
113 | } | 131 | } |
114 | } | 132 | } |
115 | 133 | ||
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 2e99bdac8..f07a36926 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -75,9 +75,9 @@ pub use self::code_model::{ | |||
75 | DefWithBody, | 75 | DefWithBody, |
76 | Module, ModuleDef, ModuleSource, | 76 | Module, ModuleDef, ModuleSource, |
77 | Struct, Union, Enum, EnumVariant, | 77 | Struct, Union, Enum, EnumVariant, |
78 | Function, FnSignature, | 78 | Function, FnData, |
79 | StructField, FieldSource, | 79 | StructField, FieldSource, |
80 | Static, Const, ConstSignature, | 80 | Static, Const, ConstData, |
81 | Trait, TypeAlias, MacroDef, Container, | 81 | Trait, TypeAlias, MacroDef, Container, |
82 | BuiltinType, | 82 | BuiltinType, |
83 | src::{Source, HasSource}, | 83 | src::{Source, HasSource}, |
diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs index 1ee40c70a..2c05ca734 100644 --- a/crates/ra_hir/src/ty/infer.rs +++ b/crates/ra_hir/src/ty/infer.rs | |||
@@ -27,7 +27,7 @@ use ra_prof::profile; | |||
27 | use test_utils::tested_by; | 27 | use test_utils::tested_by; |
28 | 28 | ||
29 | use crate::{ | 29 | use crate::{ |
30 | Function, StructField, Path, Name, FnSignature, AdtDef, ConstSignature, HirDatabase, | 30 | Function, StructField, Path, Name, FnData, AdtDef, ConstData, HirDatabase, |
31 | DefWithBody, ImplItem, | 31 | DefWithBody, ImplItem, |
32 | type_ref::{TypeRef, Mutability}, | 32 | type_ref::{TypeRef, Mutability}, |
33 | expr::{ | 33 | expr::{ |
@@ -59,9 +59,9 @@ pub fn infer_query(db: &impl HirDatabase, def: DefWithBody) -> Arc<InferenceResu | |||
59 | let mut ctx = InferenceContext::new(db, body, resolver); | 59 | let mut ctx = InferenceContext::new(db, body, resolver); |
60 | 60 | ||
61 | match def { | 61 | match def { |
62 | DefWithBody::Const(ref c) => ctx.collect_const_signature(&c.signature(db)), | 62 | DefWithBody::Const(ref c) => ctx.collect_const(&c.data(db)), |
63 | DefWithBody::Function(ref f) => ctx.collect_fn_signature(&f.signature(db)), | 63 | DefWithBody::Function(ref f) => ctx.collect_fn(&f.data(db)), |
64 | DefWithBody::Static(ref s) => ctx.collect_const_signature(&s.signature(db)), | 64 | DefWithBody::Static(ref s) => ctx.collect_const(&s.data(db)), |
65 | } | 65 | } |
66 | 66 | ||
67 | ctx.infer_body(); | 67 | ctx.infer_body(); |
@@ -509,8 +509,7 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { | |||
509 | let item: crate::ModuleDef = ty.iterate_impl_items(self.db, krate, |item| { | 509 | let item: crate::ModuleDef = ty.iterate_impl_items(self.db, krate, |item| { |
510 | let matching_def: Option<crate::ModuleDef> = match item { | 510 | let matching_def: Option<crate::ModuleDef> = match item { |
511 | crate::ImplItem::Method(func) => { | 511 | crate::ImplItem::Method(func) => { |
512 | let sig = func.signature(self.db); | 512 | if segment.name == func.name(self.db) { |
513 | if segment.name == *sig.name() { | ||
514 | Some(func.into()) | 513 | Some(func.into()) |
515 | } else { | 514 | } else { |
516 | None | 515 | None |
@@ -518,8 +517,8 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { | |||
518 | } | 517 | } |
519 | 518 | ||
520 | crate::ImplItem::Const(konst) => { | 519 | crate::ImplItem::Const(konst) => { |
521 | let sig = konst.signature(self.db); | 520 | let data = konst.data(self.db); |
522 | if segment.name == *sig.name() { | 521 | if segment.name == *data.name() { |
523 | Some(konst.into()) | 522 | Some(konst.into()) |
524 | } else { | 523 | } else { |
525 | None | 524 | None |
@@ -1283,18 +1282,18 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { | |||
1283 | ty | 1282 | ty |
1284 | } | 1283 | } |
1285 | 1284 | ||
1286 | fn collect_const_signature(&mut self, signature: &ConstSignature) { | 1285 | fn collect_const(&mut self, data: &ConstData) { |
1287 | self.return_ty = self.make_ty(signature.type_ref()); | 1286 | self.return_ty = self.make_ty(data.type_ref()); |
1288 | } | 1287 | } |
1289 | 1288 | ||
1290 | fn collect_fn_signature(&mut self, signature: &FnSignature) { | 1289 | fn collect_fn(&mut self, data: &FnData) { |
1291 | let body = Arc::clone(&self.body); // avoid borrow checker problem | 1290 | let body = Arc::clone(&self.body); // avoid borrow checker problem |
1292 | for (type_ref, pat) in signature.params().iter().zip(body.params()) { | 1291 | for (type_ref, pat) in data.params().iter().zip(body.params()) { |
1293 | let ty = self.make_ty(type_ref); | 1292 | let ty = self.make_ty(type_ref); |
1294 | 1293 | ||
1295 | self.infer_pat(*pat, &ty, BindingMode::default()); | 1294 | self.infer_pat(*pat, &ty, BindingMode::default()); |
1296 | } | 1295 | } |
1297 | self.return_ty = self.make_ty(signature.ret_type()); | 1296 | self.return_ty = self.make_ty(data.ret_type()); |
1298 | } | 1297 | } |
1299 | 1298 | ||
1300 | fn infer_body(&mut self) { | 1299 | fn infer_body(&mut self) { |
diff --git a/crates/ra_hir/src/ty/lower.rs b/crates/ra_hir/src/ty/lower.rs index 300616a53..cb494baf4 100644 --- a/crates/ra_hir/src/ty/lower.rs +++ b/crates/ra_hir/src/ty/lower.rs | |||
@@ -353,11 +353,10 @@ pub(crate) fn generic_defaults(db: &impl HirDatabase, def: GenericDef) -> Substs | |||
353 | } | 353 | } |
354 | 354 | ||
355 | fn fn_sig_for_fn(db: &impl HirDatabase, def: Function) -> FnSig { | 355 | fn fn_sig_for_fn(db: &impl HirDatabase, def: Function) -> FnSig { |
356 | let signature = def.signature(db); | 356 | let data = def.data(db); |
357 | let resolver = def.resolver(db); | 357 | let resolver = def.resolver(db); |
358 | let params = | 358 | let params = data.params().iter().map(|tr| Ty::from_hir(db, &resolver, tr)).collect::<Vec<_>>(); |
359 | signature.params().iter().map(|tr| Ty::from_hir(db, &resolver, tr)).collect::<Vec<_>>(); | 359 | let ret = Ty::from_hir(db, &resolver, data.ret_type()); |
360 | let ret = Ty::from_hir(db, &resolver, signature.ret_type()); | ||
361 | FnSig::from_params_and_return(params, ret) | 360 | FnSig::from_params_and_return(params, ret) |
362 | } | 361 | } |
363 | 362 | ||
@@ -371,18 +370,18 @@ fn type_for_fn(db: &impl HirDatabase, def: Function) -> Ty { | |||
371 | 370 | ||
372 | /// Build the declared type of a const. | 371 | /// Build the declared type of a const. |
373 | fn type_for_const(db: &impl HirDatabase, def: Const) -> Ty { | 372 | fn type_for_const(db: &impl HirDatabase, def: Const) -> Ty { |
374 | let signature = def.signature(db); | 373 | let data = def.data(db); |
375 | let resolver = def.resolver(db); | 374 | let resolver = def.resolver(db); |
376 | 375 | ||
377 | Ty::from_hir(db, &resolver, signature.type_ref()) | 376 | Ty::from_hir(db, &resolver, data.type_ref()) |
378 | } | 377 | } |
379 | 378 | ||
380 | /// Build the declared type of a static. | 379 | /// Build the declared type of a static. |
381 | fn type_for_static(db: &impl HirDatabase, def: Static) -> Ty { | 380 | fn type_for_static(db: &impl HirDatabase, def: Static) -> Ty { |
382 | let signature = def.signature(db); | 381 | let data = def.data(db); |
383 | let resolver = def.resolver(db); | 382 | let resolver = def.resolver(db); |
384 | 383 | ||
385 | Ty::from_hir(db, &resolver, signature.type_ref()) | 384 | Ty::from_hir(db, &resolver, data.type_ref()) |
386 | } | 385 | } |
387 | 386 | ||
388 | /// Build the declared type of a static. | 387 | /// Build the declared type of a static. |
diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index ad26d591c..46ec136bd 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs | |||
@@ -192,8 +192,8 @@ fn iterate_trait_method_candidates<T>( | |||
192 | let mut known_implemented = false; | 192 | let mut known_implemented = false; |
193 | for item in data.items() { | 193 | for item in data.items() { |
194 | if let TraitItem::Function(m) = *item { | 194 | if let TraitItem::Function(m) = *item { |
195 | let sig = m.signature(db); | 195 | let data = m.data(db); |
196 | if name.map_or(true, |name| sig.name() == name) && sig.has_self_param() { | 196 | if name.map_or(true, |name| data.name() == name) && data.has_self_param() { |
197 | if !known_implemented { | 197 | if !known_implemented { |
198 | let trait_ref = canonical_trait_ref(db, t, ty.clone()); | 198 | let trait_ref = canonical_trait_ref(db, t, ty.clone()); |
199 | if db.implements(krate, trait_ref).is_none() { | 199 | if db.implements(krate, trait_ref).is_none() { |
@@ -227,8 +227,8 @@ fn iterate_inherent_methods<T>( | |||
227 | for impl_block in impls.lookup_impl_blocks(&ty.value) { | 227 | for impl_block in impls.lookup_impl_blocks(&ty.value) { |
228 | for item in impl_block.items(db) { | 228 | for item in impl_block.items(db) { |
229 | if let ImplItem::Method(f) = item { | 229 | if let ImplItem::Method(f) = item { |
230 | let sig = f.signature(db); | 230 | let data = f.data(db); |
231 | if name.map_or(true, |name| sig.name() == name) && sig.has_self_param() { | 231 | if name.map_or(true, |name| data.name() == name) && data.has_self_param() { |
232 | if let Some(result) = callback(&ty.value, f) { | 232 | if let Some(result) = callback(&ty.value, f) { |
233 | return Some(result); | 233 | return Some(result); |
234 | } | 234 | } |
diff --git a/crates/ra_ide_api/src/call_info.rs b/crates/ra_ide_api/src/call_info.rs index bd08e183d..2948c646b 100644 --- a/crates/ra_ide_api/src/call_info.rs +++ b/crates/ra_ide_api/src/call_info.rs | |||
@@ -35,7 +35,7 @@ pub(crate) fn call_info(db: &RootDatabase, position: FilePosition) -> Option<Cal | |||
35 | 35 | ||
36 | // If we have a calling expression let's find which argument we are on | 36 | // If we have a calling expression let's find which argument we are on |
37 | let num_params = call_info.parameters().len(); | 37 | let num_params = call_info.parameters().len(); |
38 | let has_self = function.signature(db).has_self_param(); | 38 | let has_self = function.data(db).has_self_param(); |
39 | 39 | ||
40 | if num_params == 1 { | 40 | if num_params == 1 { |
41 | if !has_self { | 41 | if !has_self { |
diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs index ce03a0f95..8d9918d16 100644 --- a/crates/ra_ide_api/src/change.rs +++ b/crates/ra_ide_api/src/change.rs | |||
@@ -163,7 +163,8 @@ impl RootDatabase { | |||
163 | if !change.new_roots.is_empty() { | 163 | if !change.new_roots.is_empty() { |
164 | let mut local_roots = Vec::clone(&self.local_roots()); | 164 | let mut local_roots = Vec::clone(&self.local_roots()); |
165 | for (root_id, is_local) in change.new_roots { | 165 | for (root_id, is_local) in change.new_roots { |
166 | self.set_source_root(root_id, Default::default()); | 166 | let root = if is_local { SourceRoot::new() } else { SourceRoot::new_library() }; |
167 | self.set_source_root(root_id, Arc::new(root)); | ||
167 | if is_local { | 168 | if is_local { |
168 | local_roots.push(root_id); | 169 | local_roots.push(root_id); |
169 | } | 170 | } |
@@ -226,9 +227,12 @@ impl RootDatabase { | |||
226 | 227 | ||
227 | self.query(ra_db::ParseQuery).sweep(sweep); | 228 | self.query(ra_db::ParseQuery).sweep(sweep); |
228 | self.query(hir::db::ParseMacroQuery).sweep(sweep); | 229 | self.query(hir::db::ParseMacroQuery).sweep(sweep); |
229 | self.query(hir::db::MacroDefQuery).sweep(sweep); | 230 | |
230 | self.query(hir::db::MacroArgQuery).sweep(sweep); | 231 | // Macros do take significant space, but less then the syntax trees |
231 | self.query(hir::db::MacroExpandQuery).sweep(sweep); | 232 | // self.query(hir::db::MacroDefQuery).sweep(sweep); |
233 | // self.query(hir::db::MacroArgQuery).sweep(sweep); | ||
234 | // self.query(hir::db::MacroExpandQuery).sweep(sweep); | ||
235 | |||
232 | self.query(hir::db::AstIdMapQuery).sweep(sweep); | 236 | self.query(hir::db::AstIdMapQuery).sweep(sweep); |
233 | 237 | ||
234 | self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); | 238 | self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); |
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs index f26fd06b3..40bd1e75e 100644 --- a/crates/ra_ide_api/src/completion/complete_dot.rs +++ b/crates/ra_ide_api/src/completion/complete_dot.rs | |||
@@ -37,8 +37,8 @@ fn complete_fields(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) | |||
37 | 37 | ||
38 | fn complete_methods(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) { | 38 | fn complete_methods(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) { |
39 | ctx.analyzer.iterate_method_candidates(ctx.db, receiver, None, |_ty, func| { | 39 | ctx.analyzer.iterate_method_candidates(ctx.db, receiver, None, |_ty, func| { |
40 | let sig = func.signature(ctx.db); | 40 | let data = func.data(ctx.db); |
41 | if sig.has_self_param() { | 41 | if data.has_self_param() { |
42 | acc.add_function(ctx, func); | 42 | acc.add_function(ctx, func); |
43 | } | 43 | } |
44 | None::<()> | 44 | None::<()> |
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index 99da24142..c14af593b 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs | |||
@@ -49,8 +49,8 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) { | |||
49 | ty.iterate_impl_items(ctx.db, krate, |item| { | 49 | ty.iterate_impl_items(ctx.db, krate, |item| { |
50 | match item { | 50 | match item { |
51 | hir::ImplItem::Method(func) => { | 51 | hir::ImplItem::Method(func) => { |
52 | let sig = func.signature(ctx.db); | 52 | let data = func.data(ctx.db); |
53 | if !sig.has_self_param() { | 53 | if !data.has_self_param() { |
54 | acc.add_function(ctx, func); | 54 | acc.add_function(ctx, func); |
55 | } | 55 | } |
56 | } | 56 | } |
diff --git a/crates/ra_ide_api/src/completion/presentation.rs b/crates/ra_ide_api/src/completion/presentation.rs index f4ff4404b..973936736 100644 --- a/crates/ra_ide_api/src/completion/presentation.rs +++ b/crates/ra_ide_api/src/completion/presentation.rs | |||
@@ -98,13 +98,13 @@ impl Completions { | |||
98 | name: Option<String>, | 98 | name: Option<String>, |
99 | func: hir::Function, | 99 | func: hir::Function, |
100 | ) { | 100 | ) { |
101 | let sig = func.signature(ctx.db); | 101 | let data = func.data(ctx.db); |
102 | let name = name.unwrap_or_else(|| sig.name().to_string()); | 102 | let name = name.unwrap_or_else(|| data.name().to_string()); |
103 | let ast_node = func.source(ctx.db).ast; | 103 | let ast_node = func.source(ctx.db).ast; |
104 | let detail = function_label(&ast_node); | 104 | let detail = function_label(&ast_node); |
105 | 105 | ||
106 | let mut builder = CompletionItem::new(CompletionKind::Reference, ctx.source_range(), name) | 106 | let mut builder = CompletionItem::new(CompletionKind::Reference, ctx.source_range(), name) |
107 | .kind(if sig.has_self_param() { | 107 | .kind(if data.has_self_param() { |
108 | CompletionItemKind::Method | 108 | CompletionItemKind::Method |
109 | } else { | 109 | } else { |
110 | CompletionItemKind::Function | 110 | CompletionItemKind::Function |
@@ -115,10 +115,10 @@ impl Completions { | |||
115 | if ctx.use_item_syntax.is_none() && !ctx.is_call { | 115 | if ctx.use_item_syntax.is_none() && !ctx.is_call { |
116 | tested_by!(inserts_parens_for_function_calls); | 116 | tested_by!(inserts_parens_for_function_calls); |
117 | let snippet = | 117 | let snippet = |
118 | if sig.params().is_empty() || sig.has_self_param() && sig.params().len() == 1 { | 118 | if data.params().is_empty() || data.has_self_param() && data.params().len() == 1 { |
119 | format!("{}()$0", sig.name()) | 119 | format!("{}()$0", data.name()) |
120 | } else { | 120 | } else { |
121 | format!("{}($0)", sig.name()) | 121 | format!("{}($0)", data.name()) |
122 | }; | 122 | }; |
123 | builder = builder.insert_snippet(snippet); | 123 | builder = builder.insert_snippet(snippet); |
124 | } | 124 | } |
diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml index 142467cc9..a1fcf6cee 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/ra_lsp_server/Cargo.toml | |||
@@ -10,7 +10,7 @@ relative-path = "0.4.0" | |||
10 | serde_json = "1.0.34" | 10 | serde_json = "1.0.34" |
11 | serde = { version = "1.0.83", features = ["derive"] } | 11 | serde = { version = "1.0.83", features = ["derive"] } |
12 | crossbeam-channel = "0.3.5" | 12 | crossbeam-channel = "0.3.5" |
13 | flexi_logger = "0.11.0" | 13 | flexi_logger = "0.13.0" |
14 | log = "0.4.3" | 14 | log = "0.4.3" |
15 | url_serde = "0.2.0" | 15 | url_serde = "0.2.0" |
16 | lsp-types = { version = "0.57.1", features = ["proposed"] } | 16 | lsp-types = { version = "0.57.1", features = ["proposed"] } |
diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs index 725fb99f6..41be283d0 100644 --- a/crates/ra_parser/src/grammar/expressions/atom.rs +++ b/crates/ra_parser/src/grammar/expressions/atom.rs | |||
@@ -74,6 +74,7 @@ pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMar | |||
74 | T![if] => if_expr(p), | 74 | T![if] => if_expr(p), |
75 | 75 | ||
76 | T![loop] => loop_expr(p, None), | 76 | T![loop] => loop_expr(p, None), |
77 | T![box] => box_expr(p, None), | ||
77 | T![for] => for_expr(p, None), | 78 | T![for] => for_expr(p, None), |
78 | T![while] => while_expr(p, None), | 79 | T![while] => while_expr(p, None), |
79 | T![try] => try_block_expr(p, None), | 80 | T![try] => try_block_expr(p, None), |
@@ -507,3 +508,17 @@ fn try_block_expr(p: &mut Parser, m: Option<Marker>) -> CompletedMarker { | |||
507 | block(p); | 508 | block(p); |
508 | m.complete(p, TRY_EXPR) | 509 | m.complete(p, TRY_EXPR) |
509 | } | 510 | } |
511 | |||
512 | // test box_expr | ||
513 | // fn foo() { | ||
514 | // let x = box 1i32; | ||
515 | // } | ||
516 | fn box_expr(p: &mut Parser, m: Option<Marker>) -> CompletedMarker { | ||
517 | assert!(p.at(T![box])); | ||
518 | let m = m.unwrap_or_else(|| p.start()); | ||
519 | p.bump(); | ||
520 | if p.at_ts(EXPR_FIRST) { | ||
521 | expr(p); | ||
522 | } | ||
523 | m.complete(p, BOX_EXPR) | ||
524 | } | ||
diff --git a/crates/ra_parser/src/grammar/patterns.rs b/crates/ra_parser/src/grammar/patterns.rs index 16ae9da63..46034942a 100644 --- a/crates/ra_parser/src/grammar/patterns.rs +++ b/crates/ra_parser/src/grammar/patterns.rs | |||
@@ -60,6 +60,7 @@ fn atom_pat(p: &mut Parser, recovery_set: TokenSet) -> Option<CompletedMarker> { | |||
60 | let la1 = p.nth(1); | 60 | let la1 = p.nth(1); |
61 | if la0 == T![ref] | 61 | if la0 == T![ref] |
62 | || la0 == T![mut] | 62 | || la0 == T![mut] |
63 | || la0 == T![box] | ||
63 | || (la0 == IDENT && !(la1 == T![::] || la1 == T!['('] || la1 == T!['{'] || la1 == T![!])) | 64 | || (la0 == IDENT && !(la1 == T![::] || la1 == T!['('] || la1 == T!['{'] || la1 == T![!])) |
64 | { | 65 | { |
65 | return Some(bind_pat(p, true)); | 66 | return Some(bind_pat(p, true)); |
@@ -260,9 +261,11 @@ fn pat_list(p: &mut Parser, ket: SyntaxKind) { | |||
260 | // let ref mut d = (); | 261 | // let ref mut d = (); |
261 | // let e @ _ = (); | 262 | // let e @ _ = (); |
262 | // let ref mut f @ g @ _ = (); | 263 | // let ref mut f @ g @ _ = (); |
264 | // let box i = Box::new(1i32); | ||
263 | // } | 265 | // } |
264 | fn bind_pat(p: &mut Parser, with_at: bool) -> CompletedMarker { | 266 | fn bind_pat(p: &mut Parser, with_at: bool) -> CompletedMarker { |
265 | let m = p.start(); | 267 | let m = p.start(); |
268 | p.eat(T![box]); | ||
266 | p.eat(T![ref]); | 269 | p.eat(T![ref]); |
267 | p.eat(T![mut]); | 270 | p.eat(T![mut]); |
268 | name(p); | 271 | name(p); |
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index 036415eac..374fd5aec 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs | |||
@@ -104,6 +104,7 @@ pub enum SyntaxKind { | |||
104 | MOVE_KW, | 104 | MOVE_KW, |
105 | RETURN_KW, | 105 | RETURN_KW, |
106 | TRY_KW, | 106 | TRY_KW, |
107 | BOX_KW, | ||
107 | AUTO_KW, | 108 | AUTO_KW, |
108 | DEFAULT_KW, | 109 | DEFAULT_KW, |
109 | EXISTENTIAL_KW, | 110 | EXISTENTIAL_KW, |
@@ -187,6 +188,7 @@ pub enum SyntaxKind { | |||
187 | NAMED_FIELD_LIST, | 188 | NAMED_FIELD_LIST, |
188 | NAMED_FIELD, | 189 | NAMED_FIELD, |
189 | TRY_BLOCK_EXPR, | 190 | TRY_BLOCK_EXPR, |
191 | BOX_EXPR, | ||
190 | CALL_EXPR, | 192 | CALL_EXPR, |
191 | INDEX_EXPR, | 193 | INDEX_EXPR, |
192 | METHOD_CALL_EXPR, | 194 | METHOD_CALL_EXPR, |
@@ -335,6 +337,7 @@ macro_rules! T { | |||
335 | (move) => { $crate::SyntaxKind::MOVE_KW }; | 337 | (move) => { $crate::SyntaxKind::MOVE_KW }; |
336 | (return) => { $crate::SyntaxKind::RETURN_KW }; | 338 | (return) => { $crate::SyntaxKind::RETURN_KW }; |
337 | (try) => { $crate::SyntaxKind::TRY_KW }; | 339 | (try) => { $crate::SyntaxKind::TRY_KW }; |
340 | (box) => { $crate::SyntaxKind::BOX_KW }; | ||
338 | (auto) => { $crate::SyntaxKind::AUTO_KW }; | 341 | (auto) => { $crate::SyntaxKind::AUTO_KW }; |
339 | (default) => { $crate::SyntaxKind::DEFAULT_KW }; | 342 | (default) => { $crate::SyntaxKind::DEFAULT_KW }; |
340 | (existential) => { $crate::SyntaxKind::EXISTENTIAL_KW }; | 343 | (existential) => { $crate::SyntaxKind::EXISTENTIAL_KW }; |
@@ -394,6 +397,7 @@ impl SyntaxKind { | |||
394 | | MOVE_KW | 397 | | MOVE_KW |
395 | | RETURN_KW | 398 | | RETURN_KW |
396 | | TRY_KW | 399 | | TRY_KW |
400 | | BOX_KW | ||
397 | | AUTO_KW | 401 | | AUTO_KW |
398 | | DEFAULT_KW | 402 | | DEFAULT_KW |
399 | | EXISTENTIAL_KW | 403 | | EXISTENTIAL_KW |
@@ -567,6 +571,7 @@ impl SyntaxKind { | |||
567 | MOVE_KW => &SyntaxInfo { name: "MOVE_KW" }, | 571 | MOVE_KW => &SyntaxInfo { name: "MOVE_KW" }, |
568 | RETURN_KW => &SyntaxInfo { name: "RETURN_KW" }, | 572 | RETURN_KW => &SyntaxInfo { name: "RETURN_KW" }, |
569 | TRY_KW => &SyntaxInfo { name: "TRY_KW" }, | 573 | TRY_KW => &SyntaxInfo { name: "TRY_KW" }, |
574 | BOX_KW => &SyntaxInfo { name: "BOX_KW" }, | ||
570 | AUTO_KW => &SyntaxInfo { name: "AUTO_KW" }, | 575 | AUTO_KW => &SyntaxInfo { name: "AUTO_KW" }, |
571 | DEFAULT_KW => &SyntaxInfo { name: "DEFAULT_KW" }, | 576 | DEFAULT_KW => &SyntaxInfo { name: "DEFAULT_KW" }, |
572 | EXISTENTIAL_KW => &SyntaxInfo { name: "EXISTENTIAL_KW" }, | 577 | EXISTENTIAL_KW => &SyntaxInfo { name: "EXISTENTIAL_KW" }, |
@@ -650,6 +655,7 @@ impl SyntaxKind { | |||
650 | NAMED_FIELD_LIST => &SyntaxInfo { name: "NAMED_FIELD_LIST" }, | 655 | NAMED_FIELD_LIST => &SyntaxInfo { name: "NAMED_FIELD_LIST" }, |
651 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, | 656 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, |
652 | TRY_BLOCK_EXPR => &SyntaxInfo { name: "TRY_BLOCK_EXPR" }, | 657 | TRY_BLOCK_EXPR => &SyntaxInfo { name: "TRY_BLOCK_EXPR" }, |
658 | BOX_EXPR => &SyntaxInfo { name: "BOX_EXPR" }, | ||
653 | CALL_EXPR => &SyntaxInfo { name: "CALL_EXPR" }, | 659 | CALL_EXPR => &SyntaxInfo { name: "CALL_EXPR" }, |
654 | INDEX_EXPR => &SyntaxInfo { name: "INDEX_EXPR" }, | 660 | INDEX_EXPR => &SyntaxInfo { name: "INDEX_EXPR" }, |
655 | METHOD_CALL_EXPR => &SyntaxInfo { name: "METHOD_CALL_EXPR" }, | 661 | METHOD_CALL_EXPR => &SyntaxInfo { name: "METHOD_CALL_EXPR" }, |
@@ -745,6 +751,7 @@ impl SyntaxKind { | |||
745 | "move" => MOVE_KW, | 751 | "move" => MOVE_KW, |
746 | "return" => RETURN_KW, | 752 | "return" => RETURN_KW, |
747 | "try" => TRY_KW, | 753 | "try" => TRY_KW, |
754 | "box" => BOX_KW, | ||
748 | _ => return None, | 755 | _ => return None, |
749 | }; | 756 | }; |
750 | Some(kw) | 757 | Some(kw) |
diff --git a/crates/ra_project_model/Cargo.toml b/crates/ra_project_model/Cargo.toml index c1a91d950..a1f7bf6dc 100644 --- a/crates/ra_project_model/Cargo.toml +++ b/crates/ra_project_model/Cargo.toml | |||
@@ -11,7 +11,7 @@ relative-path = "0.4.0" | |||
11 | 11 | ||
12 | walkdir = "2.2.7" | 12 | walkdir = "2.2.7" |
13 | 13 | ||
14 | cargo_metadata = "0.7.0" | 14 | cargo_metadata = "0.8.0" |
15 | 15 | ||
16 | ra_arena = { path = "../ra_arena" } | 16 | ra_arena = { path = "../ra_arena" } |
17 | ra_db = { path = "../ra_db" } | 17 | ra_db = { path = "../ra_db" } |
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index eab55058b..6c075a700 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -96,6 +96,7 @@ Grammar( | |||
96 | "move", | 96 | "move", |
97 | "return", | 97 | "return", |
98 | "try", | 98 | "try", |
99 | "box", | ||
99 | ], | 100 | ], |
100 | contextual_keywords: [ | 101 | contextual_keywords: [ |
101 | "auto", | 102 | "auto", |
@@ -192,6 +193,7 @@ Grammar( | |||
192 | "NAMED_FIELD_LIST", | 193 | "NAMED_FIELD_LIST", |
193 | "NAMED_FIELD", | 194 | "NAMED_FIELD", |
194 | "TRY_BLOCK_EXPR", | 195 | "TRY_BLOCK_EXPR", |
196 | "BOX_EXPR", | ||
195 | 197 | ||
196 | // postfix | 198 | // postfix |
197 | "CALL_EXPR", | 199 | "CALL_EXPR", |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.rs index 820a9e72c..5a93469af 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.rs +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.rs | |||
@@ -5,4 +5,5 @@ fn main() { | |||
5 | let ref mut d = (); | 5 | let ref mut d = (); |
6 | let e @ _ = (); | 6 | let e @ _ = (); |
7 | let ref mut f @ g @ _ = (); | 7 | let ref mut f @ g @ _ = (); |
8 | let box i = Box::new(1i32); | ||
8 | } | 9 | } |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.txt index ab0f88507..189254a19 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0112_bind_pat.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 146) | 1 | SOURCE_FILE@[0; 178) |
2 | FN_DEF@[0; 145) | 2 | FN_DEF@[0; 177) |
3 | FN_KW@[0; 2) "fn" | 3 | FN_KW@[0; 2) "fn" |
4 | WHITESPACE@[2; 3) " " | 4 | WHITESPACE@[2; 3) " " |
5 | NAME@[3; 7) | 5 | NAME@[3; 7) |
@@ -8,7 +8,7 @@ SOURCE_FILE@[0; 146) | |||
8 | L_PAREN@[7; 8) "(" | 8 | L_PAREN@[7; 8) "(" |
9 | R_PAREN@[8; 9) ")" | 9 | R_PAREN@[8; 9) ")" |
10 | WHITESPACE@[9; 10) " " | 10 | WHITESPACE@[9; 10) " " |
11 | BLOCK@[10; 145) | 11 | BLOCK@[10; 177) |
12 | L_CURLY@[10; 11) "{" | 12 | L_CURLY@[10; 11) "{" |
13 | WHITESPACE@[11; 16) "\n " | 13 | WHITESPACE@[11; 16) "\n " |
14 | LET_STMT@[16; 27) | 14 | LET_STMT@[16; 27) |
@@ -122,6 +122,35 @@ SOURCE_FILE@[0; 146) | |||
122 | L_PAREN@[140; 141) "(" | 122 | L_PAREN@[140; 141) "(" |
123 | R_PAREN@[141; 142) ")" | 123 | R_PAREN@[141; 142) ")" |
124 | SEMI@[142; 143) ";" | 124 | SEMI@[142; 143) ";" |
125 | WHITESPACE@[143; 144) "\n" | 125 | WHITESPACE@[143; 148) "\n " |
126 | R_CURLY@[144; 145) "}" | 126 | LET_STMT@[148; 175) |
127 | WHITESPACE@[145; 146) "\n" | 127 | LET_KW@[148; 151) "let" |
128 | WHITESPACE@[151; 152) " " | ||
129 | BIND_PAT@[152; 157) | ||
130 | BOX_KW@[152; 155) "box" | ||
131 | WHITESPACE@[155; 156) " " | ||
132 | NAME@[156; 157) | ||
133 | IDENT@[156; 157) "i" | ||
134 | WHITESPACE@[157; 158) " " | ||
135 | EQ@[158; 159) "=" | ||
136 | WHITESPACE@[159; 160) " " | ||
137 | CALL_EXPR@[160; 174) | ||
138 | PATH_EXPR@[160; 168) | ||
139 | PATH@[160; 168) | ||
140 | PATH@[160; 163) | ||
141 | PATH_SEGMENT@[160; 163) | ||
142 | NAME_REF@[160; 163) | ||
143 | IDENT@[160; 163) "Box" | ||
144 | COLONCOLON@[163; 165) "::" | ||
145 | PATH_SEGMENT@[165; 168) | ||
146 | NAME_REF@[165; 168) | ||
147 | IDENT@[165; 168) "new" | ||
148 | ARG_LIST@[168; 174) | ||
149 | L_PAREN@[168; 169) "(" | ||
150 | LITERAL@[169; 173) | ||
151 | INT_NUMBER@[169; 173) "1i32" | ||
152 | R_PAREN@[173; 174) ")" | ||
153 | SEMI@[174; 175) ";" | ||
154 | WHITESPACE@[175; 176) "\n" | ||
155 | R_CURLY@[176; 177) "}" | ||
156 | WHITESPACE@[177; 178) "\n" | ||
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0132_box_expr.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0132_box_expr.rs new file mode 100644 index 000000000..e69c81e22 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0132_box_expr.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | fn foo() { | ||
2 | let x = box 1i32; | ||
3 | } | ||
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0132_box_expr.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0132_box_expr.txt new file mode 100644 index 000000000..f4eeb7e24 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0132_box_expr.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | SOURCE_FILE@[0; 35) | ||
2 | FN_DEF@[0; 34) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK@[9; 34) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | LET_STMT@[15; 32) | ||
15 | LET_KW@[15; 18) "let" | ||
16 | WHITESPACE@[18; 19) " " | ||
17 | BIND_PAT@[19; 20) | ||
18 | NAME@[19; 20) | ||
19 | IDENT@[19; 20) "x" | ||
20 | WHITESPACE@[20; 21) " " | ||
21 | EQ@[21; 22) "=" | ||
22 | WHITESPACE@[22; 23) " " | ||
23 | BOX_EXPR@[23; 31) | ||
24 | BOX_KW@[23; 26) "box" | ||
25 | WHITESPACE@[26; 27) " " | ||
26 | LITERAL@[27; 31) | ||
27 | INT_NUMBER@[27; 31) "1i32" | ||
28 | SEMI@[31; 32) ";" | ||
29 | WHITESPACE@[32; 33) "\n" | ||
30 | R_CURLY@[33; 34) "}" | ||
31 | WHITESPACE@[34; 35) "\n" | ||