BSD Ports

devel/rust-mode 1.0.5.58 DragonFly

Emacs major-mode for editing Rust source code

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel
Package size
25.0 KiB, 98.6 KiB installed

Description

rust-mode makes editing Rust code with Emacs enjoyable. It requires Emacs 25 or later, and is included in both Emacs Prelude and Spacemacs by default.

This mode provides:

  • Syntax highlighting (for Font Lock Mode)
  • Indentation
  • Integration with Cargo, clippy and rustfmt

This mode does not provide auto completion, or jumping to function / trait definitions. See Auto-completion below for tips on how to enable this.

If you are missing features in rust-mode, please check out rustic before you open a feature request. It depends on rust-mode and provides additional features. This allows us to keep rust-mode light-weight for users that are happy with basic functionality.

In the other systems

SystemPortVersion
DragonFlydevel/rust-mode1.0.5.58
FreeBSDdevel/rust-mode1.0.5.58_1
HardenedBSDdevel/rust-mode1.0.5.58_1
GhostBSDdevel/rust-mode1.0.5.58_1

Install

Binary package:

pkg install rust-mode

From DPorts:

cd /usr/dports/devel/rust-mode && make install clean

Dependencies

No port depends on this one.