Dynamically set Cargo features in Neovim

Rust analyzer Rust analyzer is a language server which provides editor support for the Rust programming language . Neovim has built-in language server protocol support. Cargo supports feature flags, which enable conditional configuration. However, any blocks which are not compiled for a given feature do not benefit from rust-analyzer language server support. While it is possible to enable features…