I really enjoy using Rust-Analyser. It's faster than IntelliJ plugin and much more accurate.
However, I am struggling with updates after modifications to my project dependencies in Cargo.toml. They don't seem to be active in rust-analyser until I restart whole VSCode. Once I restart VSCode, deleted dependencies are no longer active and new dependencies are recognised as expected.
Is this expected behaviour or am I missing something basic?
For example:
I've added random as a dependency
Nothing relevant appears in auto-completion even after Cargo.toml and main.rs are saved
Once I restart VSCode and wait for rust-analyser to settle, auto-completion works as expected