#language-server #salsa #ide #rust-analyzer #language-server-protocol #migrating #query-group

macro ra_ap_query-group-macro

A macro mimicking the #[salsa::query_group] macro for migrating to new Salsa

55 releases

Uses new Rust 2024

new 0.0.329 Apr 20, 2026
0.0.326 Mar 30, 2026
0.0.312 Dec 29, 2025
0.0.307 Nov 24, 2025
0.0.272 Mar 31, 2025

#2167 in Procedural macros

Download history 3539/week @ 2025-12-29 7993/week @ 2026-01-05 9658/week @ 2026-01-12 8812/week @ 2026-01-19 10321/week @ 2026-01-26 10527/week @ 2026-02-02 11189/week @ 2026-02-09 11269/week @ 2026-02-16 13920/week @ 2026-02-23 15469/week @ 2026-03-02 14449/week @ 2026-03-09 15478/week @ 2026-03-16 16231/week @ 2026-03-23 13689/week @ 2026-03-30 15862/week @ 2026-04-06 13850/week @ 2026-04-13

60,624 downloads per month
Used in 35 crates (4 directly)

MIT/Apache

32KB
736 lines

rust-analyzer logo

rust-analyzer is a language server that provides IDE functionality for writing Rust programs. You can use it with any editor that supports the Language Server Protocol (VS Code, Vim, Emacs, Zed, etc).

rust-analyzer features include go-to-definition, find-all-references, refactorings and code completion. rust-analyzer also supports integrated formatting (with rustfmt) and integrated diagnostics (with rustc and clippy).

Internally, rust-analyzer is structured as a set of libraries for analyzing Rust code. See Architecture in the manual.

codecov

Quick Start

https://rust-analyzer.github.io/book/installation.html

Documentation

If you want to contribute to rust-analyzer check out the CONTRIBUTING.md or if you are just curious about how things work under the hood, see the Contributing section of the manual.

If you want to use rust-analyzer's language server with your editor of choice, check the manual. It also contains some tips & tricks to help you be more productive when using rust-analyzer.

Security and Privacy

See the security and privacy sections of the manual.

Communication

For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:

https://users.rust-lang.org/c/ide/14

For questions about development and implementation, join rust-analyzer working group on Zulip:

https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer

License

rust-analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~97–445KB
~11K SLoC