BSD Ports

devel/rust-mode 1.0.5.58_1 FreeBSD

Emacs major-mode for editing Rust source code

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
79c3aeb472
License
APACHE20
Categories
devel
Package size
26.1 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
FreeBSDdevel/rust-mode1.0.5.58_1
DragonFlydevel/rust-mode1.0.5.58
HardenedBSDdevel/rust-mode1.0.5.58_1
GhostBSDdevel/rust-mode1.0.5.58_1

Install

Binary package:

pkg install rust-mode

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rust-mode>0:devel/rust-mode

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.5.58_11.0.5.58_1-1.0.5.58_11.0.5.58_1
FreeBSD:14:quarterly1.0.5.58_11.0.5.58_1n/a1.0.5.581.0.5.58_1
FreeBSD:15:latest1.0.5.58_11.0.5.58_1n/a1.0.5.58_11.0.5.58_1
FreeBSD:15:quarterly1.0.5.58_11.0.5.58_1n/an/an/a
FreeBSD:16:latest1.0.5.58_11.0.5.58_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Required by 1

Configuration

No options to configure.

USES
emacs
Service scripts
none

Files

pkg-plist 6
  • %%EMACS_SITE_LISPDIR%%/rust-cargo.el
  • %%EMACS_SITE_LISPDIR%%/rust-compile.el
  • %%EMACS_SITE_LISPDIR%%/rust-mode.el
  • %%EMACS_SITE_LISPDIR%%/rust-playpen.el
  • %%EMACS_SITE_LISPDIR%%/rust-rustfmt.el
  • %%EMACS_SITE_LISPDIR%%/rust-utils.el
distinfo 1
FileSizeSHA256
rust-lang-rust-mode-1.0.5-58-g9c26dc1_GH0.tar.gz53202e8a9e84045b0cafd6db65417f3499f4edcb5964d53672af8b487e9d283b0009c

Commit history 1

DateCommitCreditsLog message
79c3aeb472 Pat Maddox Update patmaddox maintainer email
Approved by: dch (mentor implicit) Closes: https://github.com/freebsd/freebsd-ports/pull/566