๐Ÿ“ฆ musicinmybrain / cratedeps

Tool for Fedora packagers to query reverse dependencies of a Rust crate

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching โš–๏ธ MIT No Attribution
๐Ÿ“ฅ Clone https://github.com/musicinmybrain/cratedeps.git
HTTPS git clone https://github.com/musicinmybrain/cratedeps.git
SSH git clone git@github.com:musicinmybrain/cratedeps.git
CLI gh repo clone musicinmybrain/cratedeps
Benjamin A. Beasley Benjamin A. Beasley Correct an example in the help text dd140d0 3 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“„ CHANGELOG.md
๐Ÿ“„ cratedeps
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

cratedeps

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.

Getting Started

No configuration or installation is required. The dependencies are a POSIX-compatible shell (not necessarily Bash), POSIX-compatible awk, and fedrq.

Installing 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.

Versioning

This script is versioned according to Semantic Versioning 2.0.0.

License

This script and associated files are available under the MIT-0 license; see LICENSE.

Acknowledgements

  • Thanks to Maxwell G for the fedrq tool,
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.