lang/rust: update prerequisites in README #1827
This commit is contained in:
parent
737407dcec
commit
bb68bcb80a
1 changed files with 8 additions and 7 deletions
|
@ -40,13 +40,14 @@ To get started with Rust, you can either use =rustup= and install rust with:
|
|||
Package manager is not recommended to install Nightly version of Rust what is
|
||||
required for ~racer~ from [[https://github.com/racer-rust/racer#installation][version 2.1]] (more info in [[#Troubleshooting][Troubleshooting]])
|
||||
|
||||
Some commands require additional crates to be installed to work, e.g. ~cargo
|
||||
add~.
|
||||
#+BEGIN_SRC sh
|
||||
rustup component add rustfmt
|
||||
rustup component add cargo-check
|
||||
rustup component add cargo-edit
|
||||
#+END_SRC
|
||||
Some features have additional dependencies:
|
||||
|
||||
+ The ~:editor format~ module uses ~rustfmt~ for rust files: ~rustup component
|
||||
add rustfmt-preview~
|
||||
+ The following commands require:
|
||||
+ ~cargo-process-check~: ~cargo install cargo-check~
|
||||
+ ~cargo-process-clippy~: ~cargo install clippy~
|
||||
+ ~cargo-process-{add,rm,upgrade}~: ~cargo install cargo-edit~
|
||||
|
||||
* Features
|
||||
This module also supports LSP, it requires installation of Rust Language Server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue