cargo-search2
A binary utility that provides a more convenient version of cargo search.
Installation
Grab pre-built binaries for your platform:
|
Install manually:
Examples
# output:
}
# Get an exact version (also accepts arbitrary versions)
}
# Print out GitHub Actions commands
Why?
People often use cargo search to generate cache keys for tools. This is an easier way to achieve the same goal.
In particular, it supports:
- looking for version specifiers
- producing results in both JSON and GitHub Actions formats