Open Elrendio opened 2 months ago
Hello
Would you be open to adding an integration with
cargo machete
to highlight unused dependencies in toml files?
In short, no.
Long version, the project currently lacks active maintainers so there wouldn't be anything happening in terms of implementing this. Another thing is, taplo is a schema linter, it auto-completes and provides highlight towards configuration issues based on the provided schema only. Implementing separate tool would require re-working how taplo sources and presents information.
Fair enough, thanks for answer 😊
Hello 👋
Thanks a lot for this awesome librairy and VSCode extension 😊
Would you be open to adding an integration with
cargo machete
to highlight unused dependencies in toml files?Downsides:
cargo machete
is faillible and has known false positive that can't and won't be fixed. (EG dependencies only used in macros) => I think upside of compilation time of not compiling unused deps is worth it.Even Better Toml
and notEven Better Cargo.toml
, this integration might be too rust specifics.FAQ:
cargo machete
and notcargo udeps
? Speed :rocket: udeps requires compiling the crate which takes some time and can become cubersome when saving cargo.toml files.Even Better Toml
and not a custom extension? Unused dependencies is very small problem and I'm not sure it would be worth the investment to create a extension just for that.