Automatically reload project info on Cargo.toml changes

This commit is contained in:
Aleksey Kladov 2020-07-10 15:27:34 +02:00
parent 5fa8f8e376
commit d0a8f6a3eb
7 changed files with 57 additions and 28 deletions

View file

@ -24,7 +24,7 @@ pub use crate::{
};
pub use ra_proc_macro::ProcMacroClient;
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum ProjectWorkspace {
/// Project workspace was discovered by running `cargo metadata` and `rustc --print sysroot`.
Cargo { cargo: CargoWorkspace, sysroot: Sysroot },