This POSIX shell script uses fedrq to
query reverse dependencies of Rust crates packaged in Fedora and to show
applicable version bounds. This is useful for people who package Rust software
in Fedora.
This script is now deprecated and will no longer be updated. Instead, please
use the script of the same name from version 28.1.0 or later of
rust2rpm. It offers a compatible
command-line interface, but with more flexible argument parsing, improved
handling of certain duplicate results, and nicer output formatting.
No configuration or installation is required. The dependencies are a
POSIX-compatible shell (not necessarily Bash), POSIX-compatible awk, and
fedrq.
In Fedora, you may simply run sudo dnf install fedrq. If you are on another
platform where no system-wide fedrq package is available, or if you want a
user-local installation, consider installing uv
and then running uv tool install fedrq.
This script is versioned according to Semantic Versioning 2.0.0.
This script and associated files are available under the MIT-0 license; see LICENSE.
- Thanks to Maxwell G for the
fedrqtool, which solves the hard part of the problem, and for feedback on performance and correctness. - Thanks to Michel Lind for
fedrq-cratedeps-verbose.sh, which provided the original inspiration for this tool.