Fine tune Rust and Cargo related packages

This commit is contained in:
Gergely Polonkai 2023-10-22 08:30:39 +02:00
parent 3130097949
commit f9b50a7af7
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -3032,13 +3032,30 @@ Because thats still my favourite language.
:mode "\\.csv\\'")
#+end_src
** ~rust-mode~
** Rust
*** ~rust-mode~
#+begin_src emacs-lisp
(use-package rust-mode
:mode "\\.rs\\'")
#+end_src
*** ~cargo~ and ~cargo-mode~ for Cargo usage
#+begin_src emacs-lisp
(use-package cargo)
(use-package flycheck-rust)
(use-package cargo-mode
:mode "Cargo\\.toml\\'")
#+end_src
*** ~flycheck-rust~
#+begin_src emacs-lisp
(use-package flycheck-rust
:hook
(flycheck-mode . #'flycheck-rust-setup))
#+end_src
** ~arduino-mode~