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

ra_ap_cfg

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

215 releases

new 0.0.248 Dec 9, 2024
0.0.246 Nov 25, 2024
0.0.227 Jul 29, 2024
0.0.207 Mar 25, 2024
0.0.26 Nov 30, 2020

#80 in Text editors

Download history 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 4419/week @ 2024-11-06 3949/week @ 2024-11-13 3721/week @ 2024-11-20 3563/week @ 2024-11-27 3183/week @ 2024-12-04

15,311 downloads per month
Used in 32 crates (10 directly)

MIT/Apache

77KB
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
~71K SLoC