#base #start #html #language-server #ide #link

ra_ap_base_db

Basic database traits for rust-analyzer. The concrete DB is defined by ide (aka ra_ap_ide).

227 releases

Uses new Rust 2024

new 0.0.280 May 19, 2025
0.0.277 Apr 28, 2025
0.0.272 Mar 31, 2025
0.0.248 Dec 9, 2024
0.0.26 Nov 30, 2020

#542 in Procedural macros

Download history 9709/week @ 2025-02-01 9754/week @ 2025-02-08 10612/week @ 2025-02-15 11259/week @ 2025-02-22 10681/week @ 2025-03-01 11214/week @ 2025-03-08 7989/week @ 2025-03-15 11300/week @ 2025-03-22 11972/week @ 2025-03-29 10875/week @ 2025-04-05 10453/week @ 2025-04-12 9738/week @ 2025-04-19 10993/week @ 2025-04-26 8741/week @ 2025-05-03 11450/week @ 2025-05-10 8997/week @ 2025-05-17

42,003 downloads per month
Used in 32 crates (12 directly)

MIT/Apache

1MB
27K 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

~10–18MB
~204K SLoC