Closed knepe closed 1 year ago
It compiles if I add protobuf = "=3.2.0"
to my Cargo.toml
That's interesting! Coerce does not depend on protobuf 3.3.0, so you may have another dependency in your project that uses it.
@knepe I have the same issue with my CI. I suspect the problem is that protobuf does exact version checks in generated files, but if we don't include the specific "=3.2.0" version when you bring it in, cargo will automatically get the latest 3.X.X version if it's available, causing a version mismatch when it compiles the generated file. @LeonHartley I suspect we don't see this issue in the Coerce codebase because we version control the Cargo.lock file.
Thanks guys, @AdriaanPrinsloo has hopefully resolved this, I will aim to release 8.11 this evening.
@LeonHartley, Is there anything I can do to help get 8.11 out the door?
Sorry for the delay, it was a very busy week for me. I have published 0.8.11 now!
No worries man, I didn't mean to put any pressure on you, just thought if I could help in some way, I'd offer. Thanks for the release, that's wonderful!
Yeah, no problem at all, I really do need to automate publishing before the next release!
@knepe Please could you try the latest release (0.8.11) and let me know that this issue is now resolved? :)
@LeonHartley @AdriaanPrinsloo Just tested, works perfect. Thanks guys :)
Hey,
I'm using latest coerce version, but I'm getting a build error:
I tried checking if I had any other dependency on protobuf 3.3.0 but it looks like it comes from coerce if I do
cargo tree