Leverage cargo workspace publishing
Cargo has recently stabilised workspace publishing in https://github.com/rust-lang/cargo/pull/15636, which should take care of package ordering automatically.
It's worth testing it out as an alternative to our current manual package list in publish.rs, which should take issues like https://github.com/wasm-bindgen/wasm-bindgen/pull/4616 out of question.
Nice catch!
I think we should keep publish.rs only for bumping the version.
With workspace publishing we can just slap publish = false on everything we don't want to publish and don't need a custom script for it anymore.
Can't wait for Cargo v1.90!
I think we should keep
publish.rsonly for bumping the version.
I think we can use cargo-release or cargo-smart-release for that. Actually, both say they handle workspace package dependencies automatically on version bumps, so maybe we don't even need to wait for the new Cargo?
That would be great as well!