spacemacs/contrib/!lang/rust
2015-07-01 01:37:31 -04:00
..
img Prefix categories with ! 2015-05-25 00:50:38 -04:00
config.el Rust improvements: 2015-07-01 01:34:07 -04:00
funcs.el Rust improvements: 2015-07-01 01:34:07 -04:00
packages.el rust layer: move SPC m c C to SPC m c x + various small fixes 2015-07-01 01:37:31 -04:00
README.org rust layer: move SPC m c C to SPC m c x + various small fixes 2015-07-01 01:37:31 -04:00

Rust contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/793134aab0e19f5bb0a7e4075fd8a27e4f9f85e2/contrib/!lang/rust/img/rust.png

Table of Contents   TOC@4

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