Published release of the project uutils coreutils 0.13.0 (Rust Coreutils), developing an analogue of the package GNU Coreutils, written in Rust. Coreutils comes with over a hundred utilities, including sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln, and ls. The goal of the project is to create a cross-platform alternative implementation of Coreutils, capable of running on Windows, Redox and Fuchsia platforms, among others.
Rust Coreutils is enabled by default in the Ubuntu 26.10 release and partially in Ubuntu 26.04. Rust Coreutils is also used in the distributions AerynOS (Serpent OS) and Apertis (developed by Collabora). Unlike GNU Coreutils, the Rust implementation is distributed under the permissive MIT license, instead of the GPL copyleft license. Additionally, the same team of developers is developing analogues of utility sets written in Rust util-linux, diffutils, findutils, procps and acl, as well as the programs sed and login.
In the new versions of Rust Coreutils:
- The level of compatibility with the GNU Coreutils reference test suite was 95.26% (from 94.36%). 684 tests were successfully completed, which is 31 more than in the previous version. 23 tests failed (down from 21), and 11 tests were missed (down from 18). 26 new tests have been moved from the GNU tests suite, 2 of which still fail.
During the compatibility check, some features of the behavior of GNU Coreutils were identified that were not covered by GNU’s own test suite, based on which 82 commits were transferred to GNU Coreutils, mainly related to the addition of new tests and minor fixes. - Some discrepancies with GNU Coreutils in the behavior of the sort, date, dd, ls, tail, printf and seq utilities have been eliminated.
- With GNU Coreutils parameters and messages in utilities are synchronized
pr, numfmt, stty, stat and od. - Changes have been made to make symbolic links safer in the cp, mv, ln, chown, chgrp and install utilities. For example, in the cp utility, recording in recursive mode is disabled when specifying a symbolic link to the target directory. In mv and ln, replacing a directory with a symbolic link is prohibited.
- Work has been done to eliminate crashes during write failures in the rmdir, chcon, cp, tail, numfmt, printf and seq utilities.
- The deletion of bytes in the tr utility has been accelerated, as well as base58 encoding and decoding in the basenc utility. Buffering is disabled for line-by-line output by the od utility.
- The utilities have been optimized: the “basenc base58” command has been accelerated by 35 times, cut by 23%, date by 22%, join by 20%.
- The number of utilities that support input data in encodings other than UTF-8 has been expanded.