support for autocompleting package names, package versions, and features in Cargo.toml
There are a few efforts to create separate LSPs for autocompleting package names, package versions, and features in Cargo.toml (https://github.com/frederik-uni/cargotom; https://github.com/washanhanzi/cargo-appraiser/).
Is it in scope to add support for this feature to this project?
Is it in scope to add support for this feature to this project?
Not really. Taplo is working solely off JSON schemas as it's meant for TOML validation. Any support for specific file format such as e.g. Cargo should be handled separately.
Ok.
Right now taplo is the default LSP for Zed (my motivation), but it impedes first time UX to not fully support Cargo.toml, and it's redundant to maintain two DOM implementations, run two LSPs for the same file in parallel, etc.
I submitted a draft PR that starts to implement this, as I want this for my editor use, and I want to support zed and the greater community. If it's out of scope, I'll discuss with Zed team what they prefer if taplo doesn't intend to fully support cargo.toml.