#conditional-compilation #cfg #compiler #language-server #evaluator #attributes #ide

ra_ap_cfg

Conditional compiling options, cfg attribute parser and evaluator for rust-analyzer

230 releases

new 0.0.263 Feb 10, 2025
0.0.261 Jan 28, 2025
0.0.251 Dec 30, 2024
0.0.246 Nov 25, 2024
0.0.26 Nov 30, 2020

#142 in Development tools

Download history 6322/week @ 2024-10-22 5516/week @ 2024-10-29 4129/week @ 2024-11-05 3983/week @ 2024-11-12 3906/week @ 2024-11-19 3659/week @ 2024-11-26 3864/week @ 2024-12-03 4245/week @ 2024-12-10 2700/week @ 2024-12-17 1223/week @ 2024-12-24 1621/week @ 2024-12-31 4396/week @ 2025-01-07 3094/week @ 2025-01-14 3161/week @ 2025-01-21 5279/week @ 2025-01-28 7979/week @ 2025-02-04

20,161 downloads per month
Used in 31 crates (11 directly)

MIT/Apache

78KB
2K 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, check the ./docs/dev folder.

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.5–8.5MB
~65K SLoC