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

ra_ap_syntax-bridge

Conversions between syntax nodes and token trees for rust-analyzer

28 releases

new 0.0.261 Jan 28, 2025
0.0.260 Jan 27, 2025
0.0.248 Dec 9, 2024
0.0.246 Nov 25, 2024
0.0.232 Aug 27, 2024

#772 in Development tools

Download history 4562/week @ 2024-10-08 3662/week @ 2024-10-15 5505/week @ 2024-10-22 4690/week @ 2024-10-29 3210/week @ 2024-11-05 3205/week @ 2024-11-12 3355/week @ 2024-11-19 3065/week @ 2024-11-26 3048/week @ 2024-12-03 3162/week @ 2024-12-10 2258/week @ 2024-12-17 1010/week @ 2024-12-24 1589/week @ 2024-12-31 3725/week @ 2025-01-07 2849/week @ 2025-01-14 2356/week @ 2025-01-21

10,676 downloads per month
Used in 22 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/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

~5–12MB
~102K SLoC