#language-server #spans #ide #ra-ap-span

ra_ap_span

File and span related types for rust-analyzer

77 releases

Uses new Rust 2024

new 0.0.276 Apr 21, 2025
0.0.272 Mar 31, 2025
0.0.248 Dec 9, 2024
0.0.246 Nov 25, 2024
0.0.207 Mar 25, 2024

#12 in #spans

Download history 1168/week @ 2024-12-30 3811/week @ 2025-01-06 2778/week @ 2025-01-13 3082/week @ 2025-01-20 2786/week @ 2025-01-27 3108/week @ 2025-02-03 3275/week @ 2025-02-10 3027/week @ 2025-02-17 3686/week @ 2025-02-24 2932/week @ 2025-03-03 3133/week @ 2025-03-10 3733/week @ 2025-03-17 3161/week @ 2025-03-24 3619/week @ 2025-03-31 3239/week @ 2025-04-07 2656/week @ 2025-04-14

12,838 downloads per month
Used in 30 crates (14 directly)

MIT/Apache

1MB
24K 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

~9–39MB
~476K SLoC