Updated pin
Just updated my pin crate. I wouldn't post about it, except I learned something. When I initially built & published the crate, I specified a dependency on clap, with a version of "3.0.0-beta.1".
Last autumn, the clap
project released "3.0.0-beta.2" which broke my crate. It turns out that when you say "x.y.z" in your Cargo.toml
, you are specifying a caret dependency to cargo
, and it will, on its own book, upgrade you if it thinks it's safe to do so (according to the rules of semver).
Pre-releases are covered under semver here; cargo
evidently decided that since I had (implictly) indicated a willingness to be upgraded, beta.2
would do as well as beta.1
. I suppose I'm to blame for pulling in a beta release (which contained breaking changes).
Regardless, I've now specified my dependency on clap as "=3.0.0-beta.2", meaning give me this version, damnit.
08/05/21 08:04