This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/rust
2015-10-07 15:51:40 -04:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
funcs.el Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
packages.el Use exec-path-from-shell-copy-env to set RUST_SRC_PATH for racer 2015-10-07 15:51:40 -04:00
README.org Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00

Rust contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/58f2937260acb32a97a4391128c41df883699a5e/layers/+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