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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rust-mode | 1.0.5.58_1 |
| DragonFly | devel/rust-mode | 1.0.5.58 |
| HardenedBSD | devel/rust-mode | 1.0.5.58_1 |
| GhostBSD | devel/rust-mode | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.5.58_1 | 1.0.5.58_1 | - | 1.0.5.58_1 | 1.0.5.58_1 |
| FreeBSD:14:quarterly | 1.0.5.58_1 | 1.0.5.58_1 | n/a | 1.0.5.58 | 1.0.5.58_1 |
| FreeBSD:15:latest | 1.0.5.58_1 | 1.0.5.58_1 | n/a | 1.0.5.58_1 | 1.0.5.58_1 |
| FreeBSD:15:quarterly | 1.0.5.58_1 | 1.0.5.58_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.5.58_1 | 1.0.5.58_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| rust-lang-rust-mode-1.0.5-58-g9c26dc1_GH0.tar.gz | 53202 | e8a9e84045b0cafd6db65417f3499f4edcb5964d53672af8b487e9d283b0009c |