spacemacs/layers/+lang/rust
justbur 9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
..
img
config.el
funcs.el Add a function and keybinding for cargo clean 2015-10-07 15:51:40 -04:00
packages.el layers: Transition to new key bindings functions 2015-11-21 18:22:51 +01:00
README.org Documentation update 2015-11-13 14:23:13 +01:00

Rust contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/b943d00ae451b9c327dd459f8932b58712e0361c/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