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

ra_ap_cfg

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

211 releases

new 0.0.244 Nov 11, 2024
0.0.237 Sep 30, 2024
0.0.227 Jul 29, 2024
0.0.207 Mar 25, 2024
0.0.26 Nov 30, 2020

#46 in Text editors

Download history 2093/week @ 2024-07-24 1729/week @ 2024-07-31 1785/week @ 2024-08-07 1759/week @ 2024-08-14 1915/week @ 2024-08-21 1598/week @ 2024-08-28 1424/week @ 2024-09-04 4757/week @ 2024-09-11 3980/week @ 2024-09-18 4309/week @ 2024-09-25 5000/week @ 2024-10-02 5973/week @ 2024-10-09 4713/week @ 2024-10-16 6537/week @ 2024-10-23 4933/week @ 2024-10-30 3439/week @ 2024-11-06

20,548 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