tamasfe / taplo

A TOML toolkit written in Rust
https://taplo.tamasfe.dev
MIT License
1.26k stars 108 forks source link

Feature Request: Add support for cargo-machete #597

Open Elrendio opened 2 months ago

Elrendio commented 2 months ago

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:

FAQ:

panekj commented 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.

Elrendio commented 2 months ago

Fair enough, thanks for answer 😊