diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-29 12:57:24 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-29 12:57:24 +0000 |
commit | dc48f89581843248660ceb755bb20469ab6ac0c9 (patch) | |
tree | 05a7e47d1c68c250025be1ce6492f56c15353749 /Cargo.lock | |
parent | cdcb3d3833d3d5b37b2cd4dac91a6e9366f20aea (diff) | |
parent | 899dbebd02b41b12d89c9f485e85208b39b81932 (diff) |
Merge #2668
2668: In-server cargo check watching r=matklad a=kiljacken
Opening a draft now so people can follow the progress, and comment if they spot something stupid.
Things that need doing:
- [x] Running cargo check on save
- [x] Pipe through configuration options from client
- [x] Tests for parsing behavior
- [x] Remove existing cargo watch support from VSCode extension
- [x] Progress notification in VSCode extension using LSP 3.15 `$/progress` notification
- [ ] ~~Rework ra-ide diagnostics to support secondary messages~~
- [ ] ~~Make cargo-check watcher use ra-ide diagnostics~~
~~I'd love some input on whether to try to keep the status bar progress thingy for VSCode? It will require some plumbing, and maintaining yet another rust-analyzer specific LSP notification, which I'm not sure we want to.~~
Fixes #1894
Co-authored-by: Emil Lauridsen <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 3314ef70f..b63b5ae13 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -899,6 +899,20 @@ dependencies = [ | |||
899 | ] | 899 | ] |
900 | 900 | ||
901 | [[package]] | 901 | [[package]] |
902 | name = "ra_cargo_watch" | ||
903 | version = "0.1.0" | ||
904 | dependencies = [ | ||
905 | "cargo_metadata 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
906 | "crossbeam-channel 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
907 | "insta 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
908 | "jod-thread 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
909 | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||
910 | "lsp-types 0.67.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
911 | "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
912 | "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", | ||
913 | ] | ||
914 | |||
915 | [[package]] | ||
902 | name = "ra_cfg" | 916 | name = "ra_cfg" |
903 | version = "0.1.0" | 917 | version = "0.1.0" |
904 | dependencies = [ | 918 | dependencies = [ |
@@ -1059,6 +1073,7 @@ dependencies = [ | |||
1059 | "lsp-server 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1073 | "lsp-server 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1060 | "lsp-types 0.67.1 (registry+https://github.com/rust-lang/crates.io-index)", | 1074 | "lsp-types 0.67.1 (registry+https://github.com/rust-lang/crates.io-index)", |
1061 | "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1075 | "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1076 | "ra_cargo_watch 0.1.0", | ||
1062 | "ra_ide 0.1.0", | 1077 | "ra_ide 0.1.0", |
1063 | "ra_prof 0.1.0", | 1078 | "ra_prof 0.1.0", |
1064 | "ra_project_model 0.1.0", | 1079 | "ra_project_model 0.1.0", |