paritytech / releng-scripts

Scripts managed and used by @paritytech/release-engineering
Apache License 2.0
0 stars 3 forks source link

publish-crates: Strip features belonging to `dev-dependencies` #37

Open bkchr opened 1 year ago

bkchr commented 1 year ago

We are already stripping dev-dependencies before publishing to crates.io, at the same time we also should remove enabling of features these dev-dependencies. This should fix the CI failures we are currently seeing: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2513783

niklasad1 commented 1 year ago

cargo hack already supports that by $ cargo hack publish --no-dev-deps --allow-dirty

Any reason why not to use it?