docs: add crates section to the manual

This commit is contained in:
Rongjian Zhang 2022-11-03 13:17:03 +08:00
parent 56c97a8351
commit 08c2b4557b

View file

@ -487,6 +487,12 @@ https://docs.helix-editor.com/[Helix] supports LSP by default.
However, it won't install `rust-analyzer` automatically.
You can follow instructions for installing <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
=== Crates
There is a package named `ra_ap_rust_analyzer` available on [crates.io](https://crates.io/crates/ra_ap_rust-analyzer), for someone who wants to use it programmatically.
For more details, see [the publish workflow](https://github.com/rust-lang/rust-analyzer/blob/master/.github/workflows/publish.yml).
== Troubleshooting
Start with looking at the rust-analyzer version.