#token-tree #syntax-node #syntax-tree #language-server #compiler #rust-analyzer

ra_ap_syntax-bridge

Conversions between syntax nodes and token trees for rust-analyzer

36 releases

new 0.0.269 Mar 10, 2025
0.0.266 Feb 24, 2025
0.0.248 Dec 9, 2024
0.0.246 Nov 25, 2024

#1163 in Development tools

Download history 3514/week @ 2024-11-17 3025/week @ 2024-11-24 3263/week @ 2024-12-01 3086/week @ 2024-12-08 2636/week @ 2024-12-15 1083/week @ 2024-12-22 1153/week @ 2024-12-29 3677/week @ 2025-01-05 2764/week @ 2025-01-12 3063/week @ 2025-01-19 2771/week @ 2025-01-26 3092/week @ 2025-02-02 3197/week @ 2025-02-09 2994/week @ 2025-02-16 3551/week @ 2025-02-23 3006/week @ 2025-03-02

12,971 downloads per month
Used in 23 crates (3 directly)

MIT/Apache

1MB
33K 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/book/installation.html

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, see the Contributing section of the manual.

If you want to use rust-analyzer's language server with your editor of choice, check the manual. It also contains some tips & tricks to help you be more productive when using rust-analyzer.

Security and Privacy

See the security and privacy 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

~5–16MB
~115K SLoC