Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flycheck/flycheck-rust
Better Rust/Cargo support for Flycheck
https://github.com/flycheck/flycheck-rust
Last synced: 7 days ago
JSON representation
Better Rust/Cargo support for Flycheck
- Host: GitHub
- URL: https://github.com/flycheck/flycheck-rust
- Owner: flycheck
- License: gpl-3.0
- Created: 2014-08-13T20:23:39.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T08:34:49.000Z (4 months ago)
- Last Synced: 2024-08-01T03:25:29.080Z (3 months ago)
- Language: Emacs Lisp
- Size: 68.4 KB
- Stars: 119
- Watchers: 6
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-rust-cn - flycheck-rust
- awesome-rust - flycheck-rust
- awesome-rust - flycheck-rust
- awesome-rust-cn - flycheck-rust
- awesome-rust-zh - flycheck-rust - Rust 支持[Flycheck](https://github.com/flycheck/flycheck) (开发工具 / 集成开发环境(IDE))
- awesome-rust - flycheck-rust - Rust support for [Flycheck](https://github.com/flycheck/flycheck) (Development tools / IDEs)
- awesome-rust - flycheck-rust
- fucking-awesome-rust - flycheck-rust - Rust support for <b><code> 2420⭐</code></b> <b><code> 453🍴</code></b> [Flycheck](https://github.com/flycheck/flycheck)) (Development tools / IDEs)
- fucking-awesome-rust - flycheck-rust - Rust support for <b><code> 2405⭐</code></b> <b><code> 450🍴</code></b> [Flycheck](https://github.com/flycheck/flycheck)) (Development tools / IDEs)
README
[![License GPL 3][badge-license]][copying]
[![MELPA][MELPA-badge]][MELPA-link]
[![MELPA][MELPA-Stable-badge]][MELPA-Stable-link]# flycheck-rust — Flycheck for Rust
[![CI](https://github.com/flycheck/flycheck-rust/actions/workflows/test.yml/badge.svg)](https://github.com/flycheck/flycheck-rust/actions/workflows/test.yml)
This Flycheck extension configures Flycheck automatically for the current
Cargo project.## Setup
Install from [MELPA][] or [MELPA Stable][].
If you use [`Eask`][Eask]:
```emacs-lisp
(source 'gnu)
(source 'melpa)(depends-on "flycheck-rust")
```Then, in your `init.el`:
```emacs-lisp
(with-eval-after-load 'rust-mode
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup))
```## Usage
Just use Flycheck as usual in your Rust/Cargo projects. `flycheck-rust-setup`
will call `cargo` to determine your project layout and set the variables needed
by the `rust-cargo` checker to properly check your buffer.You may also want to have a look at [flycheck/flycheck-inline][flycheck-inline],
which works well with diagnostics emitted by Rust.## License
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with
this program. If not, see http://www.gnu.org/licenses/.See [`COPYING`][copying] for details.
[badge-license]: https://img.shields.io/badge/license-GPL_3-green.svg?dummy
[COPYING]: https://github.com/flycheck/flycheck-rust/blob/master/COPYING
[Flycheck]: https://github.com/flycheck/flycheck
[Cask]: https://github.com/cask/cask
[Eask]: https://github.com/emacs-eask/cli
[MELPA]: http://melpa.milkbox.net
[MELPA Stable]: http://melpa-stable.milkbox.net
[MELPA-badge]: http://melpa.org/packages/flycheck-rust-badge.svg
[MELPA-link]: http://melpa.org/#/flycheck-rust
[MELPA-Stable-badge]: https://stable.melpa.org/packages/flycheck-rust-badge.svg
[MELPA-Stable-link]: https://stable.melpa.org/#/flycheck-rust
[flycheck-inline]: https://github.com/flycheck/flycheck-inline
[travis-badge]: https://travis-ci.org/flycheck/flycheck-rust.svg?branch=master
[travis-url]: https://travis-ci.org/flycheck/flycheck-rust