If you have a repository where the rust project lives in a subfolder (say, a monorepo hosting several services), the crates extension won't activate unless you add a (possibly blank) Cargo.toml to the repository root. This PR addresses that - it now uses the same activationEvent check for Cargo.toml that the official rust-analyzer extension uses.
If you have a repository where the rust project lives in a subfolder (say, a monorepo hosting several services), the crates extension won't activate unless you add a (possibly blank)
Cargo.toml
to the repository root. This PR addresses that - it now uses the sameactivationEvent
check forCargo.toml
that the officialrust-analyzer
extension uses.