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

ra_ap_cfg

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

212 releases

new 0.0.245 Nov 18, 2024
0.0.241 Oct 28, 2024
0.0.227 Jul 29, 2024
0.0.207 Mar 25, 2024
0.0.26 Nov 30, 2020

#63 in Text editors

Download history 1716/week @ 2024-08-03 1621/week @ 2024-08-10 1717/week @ 2024-08-17 1838/week @ 2024-08-24 1553/week @ 2024-08-31 2902/week @ 2024-09-07 4663/week @ 2024-09-14 4244/week @ 2024-09-21 4940/week @ 2024-09-28 5404/week @ 2024-10-05 5213/week @ 2024-10-12 5883/week @ 2024-10-19 5645/week @ 2024-10-26 4523/week @ 2024-11-02 3818/week @ 2024-11-09 4036/week @ 2024-11-16

19,152 downloads per month
Used in 32 crates (10 directly)

MIT/Apache

76KB
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
~69K SLoC