+ A New USES Macro for Porting Cargo-Based Rust Applications
+
+
+
+
+ Tobias
+ Kortkamp
+
+ tobik@FreeBSD.org
+
+
+
+
+ Rust Homepage
+ Cargo Homepage
+ Alacritty Homepage
+ Exa Homepage
+ Ripgrep Homepage
+ Short Screencast About How to Use the USES=cargo Macro
+
+
+
+ Support in the Ports Collection for applications written in
+ the Rust programming language that use Rust's package
+ manager Cargo was added, via a new USES=cargo
+ setting. The work is based on the cargo module
+ from the OpenBSD ports tree.
+
+ This should significantly ease the porting of Rust
+ applications, as previously porters had to create their own
+ tarball of the application's dependencies or find other
+ manual ways of bringing them in.
+
+ Several new ports were added that use it, for example:
+
+
+ - Alacritty, a GPU-accelerated terminal emulator
+
+ - Exa, a modern replacement for ls
+
+ - Ripgrep, a line-oriented search tool that combines the
+ usability of The Silver Searcher with the raw speed of GNU
+ grep
+
+
+
+
+ Add documentation for the new feature.
+
+