Manifest for Cargo Installed Binaries

Is there any sort of manifest format availble, but targetted at cargo installed binaries. Things like cargo expand or cargo make are sometimes required tools in the development of a rust project, and being able to version them. For example, cargo expand can be used in tests, and it would be useful to be able to pin its version.

Manifest of what?

A file you can pass to cargo install w/ cargo binary crates and version requirements. Similar to the dependencies section of a cargo.toml, but for cargo binaries

If you'd like to use a binary crate as part of the build or test of another crate, you're looking for binary dependencies. This would let you declare a dependency on the binary, and then run or reference it from your build script or proc macro or tests or similar.

(This isn't fully implemented yet. Help welcome.)

1 Like