lang/rust: replace cargo.el w/ rustic-cargo #2108

This commit is contained in:
Henrik Lissner 2019-11-23 16:00:14 -05:00
parent ebe1da4282
commit c86d400518
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 31 additions and 116 deletions

View file

@ -14,3 +14,13 @@
(when buf
(pop-to-buffer buf)
t)))
;;
;;; Custom Cargo commands
;;;###autoload
(defun +rust/cargo-audit ()
"Run 'cargo audit' for the current project."
(interactive)
(rustic-run-cargo-command "cargo audit -f"))