260 releases

Uses new Rust 2024

new 0.0.288 Jun 16, 2025
0.0.281 May 26, 2025
0.0.272 Mar 31, 2025
0.0.251 Dec 30, 2024
0.0.26 Nov 30, 2020

#41 in Text editors

Download history 13484/week @ 2025-02-27 12655/week @ 2025-03-06 11744/week @ 2025-03-13 12635/week @ 2025-03-20 13837/week @ 2025-03-27 14172/week @ 2025-04-03 14514/week @ 2025-04-10 12227/week @ 2025-04-17 16708/week @ 2025-04-24 11649/week @ 2025-05-01 13519/week @ 2025-05-08 15268/week @ 2025-05-15 12058/week @ 2025-05-22 11270/week @ 2025-05-29 11156/week @ 2025-06-05 14242/week @ 2025-06-12

51,303 downloads per month
Used in 582 crates (24 directly)

MIT/Apache

60KB
1K SLoC

rust-analyzer logo

rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.

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

~1–15MB
~115K SLoC