Warning: This tool is completely untested and may not behave correctly. Use at your own risk.
This tool scans the current workspace, builds every package as if it was published and publishes the ones that do not exist yet on crates.io. If at any point the validation fails it will stop.
Validation consists of two phases:
replace
sections for crates that will be published and try building
every package.If an error is only detected in phase 2 (which should not happen), half of the workspace will be published (and build
successfully), the other half won't be on crates.io
. This is definitely better than having broken packages on
crates.io.
println!
0.1.2
-> 0.1.3
)