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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q1
rust Language with a focus on memory safety and concurrency
1.83.0_1 lang on this many watch lists=0 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.83.0_1Version of this port present on the latest quarterly branch.
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-01-30 02:09:18
Last Update: 2025-03-07 17:47:15
Commit Hash: 093b0eb
License: APACHE20 MIT
WWW:
https://www.rust-lang.org/
Description:
Rust is an open-source systems programming language that runs blazingly fast, prevents almost all crashes, and eliminates data races. Some of its features: - Algebraic data types, type inference - Pattern matching and closures - Concurrency without data races - Guaranteed memory safety - Optional garbage collection - Zero-cost abstractions - Minimal runtime - Efficient C bindings
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 (4 items)
Collapse this list.
  1. /usr/local/share/licenses/rust-1.83.0_1/catalog.mk
  2. /usr/local/share/licenses/rust-1.83.0_1/LICENSE
  3. /usr/local/share/licenses/rust-1.83.0_1/APACHE20
  4. /usr/local/share/licenses/rust-1.83.0_1/MIT
Collapse this list.
Dependency lines:
  • rust>0:lang/rust
Conflicts:
CONFLICTS_INSTALL:
  • rust-nightly
To install the port:
cd /usr/ports/lang/rust/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/rust
  • pkg install rust
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rust
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv7 i386 powerpc64 powerpc64le powerpc riscv64
distinfo:
TIMESTAMP = 1732649272 SHA256 (rust/rustc-1.83.0-src.tar.xz) = 7b11d4242dab0921a7d54758ad3fe805153c979c144625fecde11735760f97df SIZE (rust/rustc-1.83.0-src.tar.xz) = 353808388

Expand this list (48 items)

Collapse this list.

SHA256 (rust/2024-10-17/rustc-1.82.0-aarch64-unknown-freebsd.tar.xz) = 2a758f72d6bbb983193dea7d24e6e5fc3811b63f472c6c58f32197af940aa795 SIZE (rust/2024-10-17/rustc-1.82.0-aarch64-unknown-freebsd.tar.xz) = 62711948 SHA256 (rust/2024-10-17/rust-std-1.82.0-aarch64-unknown-freebsd.tar.xz) = 2ec9beef0b6e222f10c69e40229b00785e484726f15f190872bba92ad05b9356 SIZE (rust/2024-10-17/rust-std-1.82.0-aarch64-unknown-freebsd.tar.xz) = 26423576 SHA256 (rust/2024-10-17/cargo-1.82.0-aarch64-unknown-freebsd.tar.xz) = 1493b5ff965b59876dba00a192daf89f74f4ee6686cd89ea878ac86e89a8dded SIZE (rust/2024-10-17/cargo-1.82.0-aarch64-unknown-freebsd.tar.xz) = 9217928 SHA256 (rust/2024-10-17/rustc-1.82.0-x86_64-unknown-freebsd.tar.xz) = 9bc7885aa7434d9e9fe5e400bd14aba6b7bad47a957fbd12651c2038e8fd64f5 SIZE (rust/2024-10-17/rustc-1.82.0-x86_64-unknown-freebsd.tar.xz) = 51037096 SHA256 (rust/2024-10-17/rust-std-1.82.0-x86_64-unknown-freebsd.tar.xz) = 3927d64465cb5bedce595e3ebe728df2cafc719c5ffd68354180f0024b331a6f SIZE (rust/2024-10-17/rust-std-1.82.0-x86_64-unknown-freebsd.tar.xz) = 28148888 SHA256 (rust/2024-10-17/cargo-1.82.0-x86_64-unknown-freebsd.tar.xz) = d6e96db4a4e78d58cfc9410cc3107e528c839fa2937f18aae8f217e5097a1c15 SIZE (rust/2024-10-17/cargo-1.82.0-x86_64-unknown-freebsd.tar.xz) = 10406292 SHA256 (rust/2024-10-17/rustc-1.82.0-armv7-unknown-freebsd.tar.xz) = c13982b87ae60cbe4fe6ddfa96cded7293c0d59011816e6f89cdfa4531964eea SIZE (rust/2024-10-17/rustc-1.82.0-armv7-unknown-freebsd.tar.xz) = 62941904 SHA256 (rust/2024-10-17/rust-std-1.82.0-armv7-unknown-freebsd.tar.xz) = cadc589d89ca68fb81ad2913e60e89348a75bd228725f82faba2d4c961a2aca7 SIZE (rust/2024-10-17/rust-std-1.82.0-armv7-unknown-freebsd.tar.xz) = 25949604 SHA256 (rust/2024-10-17/cargo-1.82.0-armv7-unknown-freebsd.tar.xz) = efbd26868fef7fbca7da59591fdbacefa0f3ad5e263b9487d4fe07c93e0da588 SIZE (rust/2024-10-17/cargo-1.82.0-armv7-unknown-freebsd.tar.xz) = 9313164 SHA256 (rust/2024-10-17/rustc-1.82.0-i686-unknown-freebsd.tar.xz) = 0016215d5b3c034cbd8f332336d284690be30f7c088e926fdd2281182f165313 SIZE (rust/2024-10-17/rustc-1.82.0-i686-unknown-freebsd.tar.xz) = 71103120 SHA256 (rust/2024-10-17/rust-std-1.82.0-i686-unknown-freebsd.tar.xz) = bdf02f49d85c3e7a103bb43bf2982341d765b2afeff2994f5086f2963cbe0bcc SIZE (rust/2024-10-17/rust-std-1.82.0-i686-unknown-freebsd.tar.xz) = 27840180 SHA256 (rust/2024-10-17/cargo-1.82.0-i686-unknown-freebsd.tar.xz) = e5b10d5a18b8f2512fd4aa53a7c30b6b9b61f2572cf59a401d075d3ba588f426 SIZE (rust/2024-10-17/cargo-1.82.0-i686-unknown-freebsd.tar.xz) = 10843032 SHA256 (rust/2024-10-17/rustc-1.82.0-powerpc-unknown-freebsd.tar.xz) = b4f5b4599a4e9bbc3f90445bd0aae1aecf0d147947ea512e0f00dfa76a9e3cf2 SIZE (rust/2024-10-17/rustc-1.82.0-powerpc-unknown-freebsd.tar.xz) = 67416020 SHA256 (rust/2024-10-17/rust-std-1.82.0-powerpc-unknown-freebsd.tar.xz) = 7e7c8623ca7c3105d82478d4ae766ddf489a7e8fbaa01d40f32500d4de06a65d SIZE (rust/2024-10-17/rust-std-1.82.0-powerpc-unknown-freebsd.tar.xz) = 25162056 SHA256 (rust/2024-10-17/cargo-1.82.0-powerpc-unknown-freebsd.tar.xz) = b6a66517fcf3a08ced4fd887dfa5318ccfa23e897c63666f16149755ec05ba63 SIZE (rust/2024-10-17/cargo-1.82.0-powerpc-unknown-freebsd.tar.xz) = 9984192 SHA256 (rust/2024-10-17/rustc-1.82.0-powerpc64-unknown-freebsd.tar.xz) = e050efa9b992d891bf4669c5ecf3531eba6c9a630ed0cbd4c94e00c8cc66317e SIZE (rust/2024-10-17/rustc-1.82.0-powerpc64-unknown-freebsd.tar.xz) = 65447208 SHA256 (rust/2024-10-17/rust-std-1.82.0-powerpc64-unknown-freebsd.tar.xz) = 9790d33816e253ba2a640c47fbf52b61f0c6841c04fe004561ac0fa82b74de90 SIZE (rust/2024-10-17/rust-std-1.82.0-powerpc64-unknown-freebsd.tar.xz) = 25120776 SHA256 (rust/2024-10-17/cargo-1.82.0-powerpc64-unknown-freebsd.tar.xz) = b8bcfb00232aa49b380c2a6b2b4ad00ef0603d7e545b115046add963e20e3aa9 SIZE (rust/2024-10-17/cargo-1.82.0-powerpc64-unknown-freebsd.tar.xz) = 9636840 SHA256 (rust/2024-10-17/rustc-1.82.0-powerpc64le-unknown-freebsd.tar.xz) = 04d7fd15fe90fa5272802e5a3afe6baf4868a0018ecb6e1ecca8c2b009df5cd6 SIZE (rust/2024-10-17/rustc-1.82.0-powerpc64le-unknown-freebsd.tar.xz) = 67188864 SHA256 (rust/2024-10-17/rust-std-1.82.0-powerpc64le-unknown-freebsd.tar.xz) = bb76f789c552ffdaab681fa90084e658c0027bbc99f5e8d07c3c0b99efe2181b SIZE (rust/2024-10-17/rust-std-1.82.0-powerpc64le-unknown-freebsd.tar.xz) = 25235320 SHA256 (rust/2024-10-17/cargo-1.82.0-powerpc64le-unknown-freebsd.tar.xz) = 1e5f30101156510ac03833bf3362d41fc1b4603f6509dea3c71a8cc0fbb7d76b SIZE (rust/2024-10-17/cargo-1.82.0-powerpc64le-unknown-freebsd.tar.xz) = 9908700 SHA256 (rust/2024-10-17/rustc-1.82.0-riscv64gc-unknown-freebsd.tar.xz) = cb73b8677f807afee63481aaeb51136b5a7db4e9d194a646ba3c9e0c8c4d54cc SIZE (rust/2024-10-17/rustc-1.82.0-riscv64gc-unknown-freebsd.tar.xz) = 71586632 SHA256 (rust/2024-10-17/rust-std-1.82.0-riscv64gc-unknown-freebsd.tar.xz) = ff00c41174c771450ab4b962f7f41f2be18944d3c834fab4316181bec955d784 SIZE (rust/2024-10-17/rust-std-1.82.0-riscv64gc-unknown-freebsd.tar.xz) = 25011372 SHA256 (rust/2024-10-17/cargo-1.82.0-riscv64gc-unknown-freebsd.tar.xz) = 2f99b7d5f40d1f0f28f474b5e28298652a5e71d9a1bfcfa30ba1283b790f4d7d SIZE (rust/2024-10-17/cargo-1.82.0-riscv64gc-unknown-freebsd.tar.xz) = 11545916

Collapse this list.


Packages (timestamps in pop-ups are UTC):
rust
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.87.01.87.0-1.86.01.87.0-1.49.0-
FreeBSD:13:quarterly1.85.11.85.1-1.85.11.85.1-1.74.11.74.1
FreeBSD:14:latest1.86.01.87.0-1.86.01.87.0--1.70.0
FreeBSD:14:quarterly1.85.11.85.1-1.85.11.85.1-1.74.11.74.1
FreeBSD:15:latest1.86.01.86.0n/a1.86.0n/a-1.75.0-
Slave ports:
  1. lang/rust-nightly
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.11 : lang/python311
Library dependencies:
  1. libcurl.so : ftp/curl
This port is required by:
for Build
  1. accessibility/wl-gammarelay-rs
  2. devel/cargo-leptos
  3. devel/electron32
  4. devel/electron33
  5. devel/git-cinnabar
  6. devel/rubygem-prometheus-client-mmap
  7. filesystems/ufs
Expand this list (30 items / 23 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. games/veloren-weekly
  3. graphics/libimagequant
  4. graphics/oculante
  5. graphics/oxipng
  6. japanese/py-SudachiPy
  7. mail/thunderbird
  8. mail/thunderbird-esr
  9. multimedia/ab-av1
  10. security/suricata
  11. shells/nushell
  12. textproc/rubygem-gitlab-glfm-markdown
  13. www/chromium
  14. www/firefox
  15. www/firefox-esr
  16. www/iridium
  17. www/librewolf
  18. www/py-qh3
  19. www/tor-browser
  20. www/ungoogled-chromium
  21. www/waterfox
  22. x11/windowtolayer
  23. x11/xdg-desktop-portal-luminous
  24. x11/xwayland-satellite
  25. Collapse this list.

Configuration Options:
===> The following configuration options are available for rust-1.83.0_1: DOCS=on: Build and/or install documentation GDB=off: Install ports gdb (necessary for debugging rust programs) LTO=off: Use Link-Time Optimization PORT_LLVM=off: Build against devel/llvm instead of bundled copy (experimental) SOURCES=on: Install source files WASM=on: Build the WebAssembly target (wasm32-unknown-unknown) ===> Use 'make config' to modify these settings
Options name:
lang_rust
USES:
cmake:indirect cpe ninja:build pkgconfig python:build ssl tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.83.0_1
07 Mar 2025 17:47:15
commit hash: 093b0eb52a7edf34511ad4196375f111162c5daccommit hash: 093b0eb52a7edf34511ad4196375f111162c5daccommit hash: 093b0eb52a7edf34511ad4196375f111162c5daccommit hash: 093b0eb52a7edf34511ad4196375f111162c5dac files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
lang/rust: Make OpenSSL use the system default truststore in Cargo

Cargo uses curl-rust and git2-rs (which uses curl-rest as well).
Unfortunately, git2-rs calls openssl_probe::init_ssl_cert_env_vars()
unconditionally which breaks the process environment by setting an invalid
value for SSL_CERT_DIR and then the system default truststore is circumvented,
resulting in certificate validation errors even if certctl(8) manages
everything nicely.

Upstream issues:
* https://github.com/alexcrichton/openssl-probe/issues/37
* https://github.com/rust-lang/git2-rs/pull/1130

Reviewed by:	jrm (mentor), mikael (rust)
MFH:		2025Q1
Differential Revision:	https://reviews.freebsd.org/D49120

(cherry picked from commit 078082660317490b1a2faf93ddce4b49c6b165dc)
1.83.0
30 Jan 2025 02:07:58
commit hash: 0dd482bc789d235c5e7bf6d5cc6aa61b5214908dcommit hash: 0dd482bc789d235c5e7bf6d5cc6aa61b5214908dcommit hash: 0dd482bc789d235c5e7bf6d5cc6aa61b5214908dcommit hash: 0dd482bc789d235c5e7bf6d5cc6aa61b5214908d files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
lang/rust182: remove port after 182ff2d0ad1b

(cherry picked from commit 917563d82e51f1e05253197bb3b641c05ab50afb)

Number of commits found: 2