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

ra_ap_cfg

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

225 releases

new 0.0.258 Jan 13, 2025
0.0.251 Dec 30, 2024
0.0.246 Nov 25, 2024
0.0.227 Jul 29, 2024
0.0.26 Nov 30, 2020

#45 in Text editors

Download history 4590/week @ 2024-09-27 5468/week @ 2024-10-04 5207/week @ 2024-10-11 5607/week @ 2024-10-18 5823/week @ 2024-10-25 4768/week @ 2024-11-01 3965/week @ 2024-11-08 3983/week @ 2024-11-15 3642/week @ 2024-11-22 3915/week @ 2024-11-29 4409/week @ 2024-12-06 3250/week @ 2024-12-13 1671/week @ 2024-12-20 1172/week @ 2024-12-27 3467/week @ 2025-01-03 3521/week @ 2025-01-10

10,291 downloads per month
Used in 31 crates (11 directly)

MIT/Apache

79KB
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/manual.html#installation

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 folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.

Security and Privacy

See the corresponding 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.6–8.5MB
~70K SLoC