#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

31 releases

new 0.0.264 Feb 17, 2025
0.0.263 Feb 10, 2025
0.0.261 Jan 28, 2025
0.0.248 Dec 9, 2024
0.0.232 Aug 27, 2024

#795 in Development tools

Download history 4064/week @ 2024-10-30 3490/week @ 2024-11-06 3305/week @ 2024-11-13 3149/week @ 2024-11-20 3014/week @ 2024-11-27 3146/week @ 2024-12-04 2940/week @ 2024-12-11 2043/week @ 2024-12-18 953/week @ 2024-12-25 2148/week @ 2025-01-01 3548/week @ 2025-01-08 2909/week @ 2025-01-15 2992/week @ 2025-01-22 2796/week @ 2025-01-29 3033/week @ 2025-02-05 2732/week @ 2025-02-12

12,082 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/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, check the ./docs/dev folder.

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–12MB
~106K SLoC