@@ -184,7 +184,8 @@ the latest build duration."
184
184
:package-version '(lsp-mode . " 6.1" ))
185
185
186
186
(defcustom lsp-rust-features []
187
- " List of Cargo features to enable."
187
+ " List of features to activate.
188
+ Set this to `\" all\" ` to pass `--all-features` to cargo."
188
189
:type 'lsp-string-vector
189
190
:group 'lsp-rust-rls
190
191
:package-version '(lsp-mode . " 6.1" ))
@@ -482,7 +483,7 @@ belongs to."
482
483
:package-version '(lsp-mode . " 6.2.2" ))
483
484
484
485
(defcustom lsp-rust-analyzer-cargo-watch-args []
485
- " Cargo watch args ."
486
+ " Extra arguments for `cargo check` ."
486
487
:type 'lsp-string-vector
487
488
:group 'lsp-rust-analyzer
488
489
:package-version '(lsp-mode . " 6.2.2" ))
@@ -745,6 +746,7 @@ or JSON objects in `rust-project.json` format."
745
746
:checkOnSave (:enable ,(lsp-json-bool lsp-rust-analyzer-cargo-watch-enable)
746
747
:command , lsp-rust-analyzer-cargo-watch-command
747
748
:extraArgs , lsp-rust-analyzer-cargo-watch-args
749
+ :features , lsp-rust-features
748
750
:allTargets ,(lsp-json-bool lsp-rust-analyzer-cargo-all-targets)
749
751
:overrideCommand , lsp-rust-analyzer-cargo-override-command )
750
752
:files (:exclude , lsp-rust-analyzer-exclude-globs
0 commit comments