notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
rust-mode Emacs major-mode for editing Rust source code
1.0.5.58_1 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.0.5.58Version of this port present on the latest quarterly branch.
Maintainer: pat@patmaddox.com search for ports maintained by this maintainer
Port Added: 2024-01-24 01:39:07
Last Update: 2025-08-16 00:42:54
Commit Hash: 41e3c04
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: APACHE20
WWW:
https://github.com/rust-lang/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (12 items)
Collapse this list.
  1. /usr/local/share/licenses/rust-mode-1.0.5.58_1/catalog.mk
  2. /usr/local/share/licenses/rust-mode-1.0.5.58_1/LICENSE
  3. /usr/local/share/licenses/rust-mode-1.0.5.58_1/APACHE20
  4. share/emacs/site-lisp/rust-cargo.el
  5. share/emacs/site-lisp/rust-compile.el
  6. share/emacs/site-lisp/rust-mode.el
  7. share/emacs/site-lisp/rust-playpen.el
  8. share/emacs/site-lisp/rust-rustfmt.el
  9. share/emacs/site-lisp/rust-utils.el
  10. @owner
  11. @group
  12. @mode
Collapse this list.
Dependency lines:
  • rust-mode>0:devel/rust-mode
To install the port:
cd /usr/ports/devel/rust-mode/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/rust-mode
  • pkg install rust-mode
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rust-mode
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1706059992 SHA256 (rust-lang-rust-mode-1.0.5-58-g9c26dc1_GH0.tar.gz) = e8a9e84045b0cafd6db65417f3499f4edcb5964d53672af8b487e9d283b0009c SIZE (rust-lang-rust-mode-1.0.5-58-g9c26dc1_GH0.tar.gz) = 53202

Packages (timestamps in pop-ups are UTC):
rust-mode
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.5.58_11.0.5.58_1-1.0.5.58_11.0.5.58_1n/an/an/a
FreeBSD:13:quarterly1.0.5.58_11.0.5.58_1-1.0.5.581.0.5.58_1n/an/an/a
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_1-1.0.5.581.0.5.58_1---
FreeBSD:15:latest1.0.5.58_11.0.5.58_1n/a1.0.5.58_1n/an/a1.0.5.581.0.5.58
FreeBSD:15:quarterly1.0.5.58_11.0.5.58_1n/a-n/an/a--
FreeBSD:16:latest-1.0.5.58_1n/a-n/an/a--
This port has no dependencies.
This port is required by:
for Run
  1. devel/ob-rust

Configuration Options:
No options to configure
Options name:
devel_rust-mode
USES:
emacs
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/rust-lang/rust-mode/tar.gz/1.0.5-58-g9c26dc1?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.5.58_1
16 Aug 2025 00:42:54
commit hash: 41e3c046e7bca7ea4bb6b98e280b68e922bf4b9dcommit hash: 41e3c046e7bca7ea4bb6b98e280b68e922bf4b9dcommit hash: 41e3c046e7bca7ea4bb6b98e280b68e922bf4b9dcommit hash: 41e3c046e7bca7ea4bb6b98e280b68e922bf4b9d files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
editors/emacs: Update to 30.2

* Replace '30.1' in Mk/Uses/emacs.mk with '30.2'.
* Bump PORTREVISION of dependent ports.

ChangLog:	https://cgit.git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.2
Reviewed by:	jrm
Differential Revision:	https://reviews.freebsd.org/D51906
1.0.5.58
24 Jan 2024 01:37:28
commit hash: 8099c6d33d7690d53b135eedab5043fb9589a1eacommit hash: 8099c6d33d7690d53b135eedab5043fb9589a1eacommit hash: 8099c6d33d7690d53b135eedab5043fb9589a1eacommit hash: 8099c6d33d7690d53b135eedab5043fb9589a1ea files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/rust-mode: New port: Emacs major-mode for editing Rust source code

PR:		276340
Submitted by:	Pat Maddox <pat@patmaddox.com>

Number of commits found: 2