spacemacs/layers/+lang/rust
2015-11-01 23:40:29 -05:00
..
img
config.el
funcs.el
packages.el Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
README.org Convert documentation to publishable format 2015-11-01 23:40:29 -05:00

Rust contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/13c5b1d24b7dab52d78aa236786cc6d4f3724d0a/layers/+lang/rust/img/rust.png

Description

This layer aims to support Rust development in Spacemacs.

It supports Cargo, and has some basic auto-completion support through Racer, though Racer needs some additional configurations as described on their page.

Install

Layer

To use this layer, add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(rust))

Cargo

Cargo is a project management command line tool for Rust. Installation instructions can be found on the main page of Cargo.

Key bindings

Key Binding Description
SPC m c c compile project with Cargo
SPC m c t run tests with Cargo
SPC m c d generate documentation with Cargo
SPC m c x execute the project with Cargo
SPC m c C remove build artifacts with Cargo