Hello,
This post refers to the YouTrack issue RUST-20113 originally reported some time ago.
The request is to add support for lightweight Cargo projects — minimal setups that use a basic Cargo.toml file without the full overhead of complete workspaces or complex multi-crate structures. This feature would enable significantly faster and more resource-efficient execution of plugin tests.
This improvement is currently a blocker for further development of the following plugin: GitHub - franfrandev/filter_out_rust_tests: Intellij plugin for filtering out Rust tests in usages · GitHub
It completely blocks any TDD approach, making the plugin very painful to deal with. It has some bugs and they are hard to track because of this.
The Rust plugin community and maintainers have probably dealt with similar challenges in test infrastructure and Cargo integration. Any insights on suitable extension points, relevant APIs, or best practices for handling lightweight Cargo configurations would be extremely valuable. Concrete examples from other areas of the plugin or related tooling would also help move this forward.
In the meantime, I would be happy with some guidance regarding other approaches, maybe the heavy testing machinery which would allow the plugin test infra to at least prove that it works on specific cases, and potentially migrate it if the much appreciated lightweight cargo project test infra gets implemented.
Thank you in advance for any suggestions or guidance!