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

ra_ap_cfg

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

224 releases

new 0.0.257 Jan 8, 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

#12 in Text editors

Download history 4246/week @ 2024-09-19 4104/week @ 2024-09-26 5280/week @ 2024-10-03 5631/week @ 2024-10-10 5322/week @ 2024-10-17 6066/week @ 2024-10-24 4987/week @ 2024-10-31 4131/week @ 2024-11-07 3795/week @ 2024-11-14 3839/week @ 2024-11-21 3690/week @ 2024-11-28 3990/week @ 2024-12-05 3893/week @ 2024-12-12 2009/week @ 2024-12-19 1084/week @ 2024-12-26 2935/week @ 2025-01-02

10,666 downloads per month
Used in 30 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–9MB
~74K SLoC