Optional features are part of the crate — the project should say so
Rust Internals [Unofficial]
March 11, 2026
rust-analyzer already has a configuration setting for controlling features, see Configuration - rust-analyzer
Discussion in the ATmosphere