From rust-analyzer
Rust Analyzer provides code intelligence for Rust — diagnostics, go-to-definition, find references, and type information for .rs files.
Ships in rust-analyzer. Installing the plugin adds it to Claude Code.
This LSP server requires rust-analyzer to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"rust": {
"command": "rust-analyzer",
"extensionToLanguage": {
".rs": "rust"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
rust-analyzerstdioInitialization options and workspace settings
7-day visitors to each server page
npx claudepluginhub boostvolt/claude-code-lsps --plugin rust-analyzer