asomers / mockall

A powerful mock object library for Rust
Apache License 2.0
1.5k stars 62 forks source link

Bump fragile dependency due to yanked older versions #419

Closed lucas-schuermann closed 2 years ago

lucas-schuermann commented 2 years ago

Older ^1.0 versions of fragile have been yanked from crates.io, leading to the following error.

error: failed to select a version for the requirement `fragile = "^1.0"`
candidate versions found which didn't match: 2.0.0
location searched: crates.io index
required by package `mockall v0.11.2`
    ... which satisfies dependency `mockall = "^0.11.2"` of package `[redacted] v0.0.0 ([redacted])`
asomers commented 2 years ago

Thanks! Also, that's a lot of upvotes you got very quickly. Do you guys all work together or something?

lucas-schuermann commented 2 years ago

Haha, no, just think it became a common problem as of the changes to fragile about 30 mins ago. Thanks for the quick response!

asomers commented 2 years ago

Released as Mockall 0.11.3

mitsuhiko commented 2 years ago

Thank you very much for fixing this. JFTR I did end up yanking and re-releasing a compat version so old releases keep working, but upgrade to 2.0 is definitely better. The broken type gives deprecation warnings on the older version.