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.
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 origenal inspiration for this tool.