flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

v24.3.7 of Rust crate not released to crates.io

Open snowp opened this issue 1 year ago • 5 comments

Seems like v24.3.7 was released not too long ago which generates code incompatible with the most recently available version of the Rust library available via crates.io (v23.5.26).

For now I've unblocked myself by depending on the GH repo directly @ the latest released tag, but it would be nice to have the most recent version of the lib available in crates.io.

snowp avatar Mar 13 '24 21:03 snowp

I'm surprised this isn't at least a minor version bump. More generally, is there a compatibility mapping maintained between CLI versions and rust library versions? Building in lockstep does help but is cumbersome if you're using crates.io

rdelfin avatar Mar 16 '24 17:03 rdelfin

This is a pretty big issue for my org as the we currently cannot use the latest flatc since the codegen is a breaking change

mkatychev avatar Mar 25 '24 17:03 mkatychev

For a workaround for anyone blocked on this I ended up doing this

flatbuffers = { git = "https://github.com/google/flatbuffers", tag = "v24.3.7" }

which has unblocked us for now

snowp avatar Mar 25 '24 17:03 snowp

I've made a PR that automates the publishing to avoid this in future

rdelfin avatar Mar 25 '24 17:03 rdelfin

It looks like a new crate version has already been published (v24.3.25). I also see one of the crate owners is a github bot too. @CasperN / @rw / @dbaileychess I assume this can be closed? Thanks for resolving this!

rdelfin avatar May 20 '24 20:05 rdelfin