Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bkchr opened this issue Mar 13, 2023 · 1 comment
Open

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

bkchr opened this issue Mar 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bkchr
Copy link
Member

bkchr commented Mar 13, 2023

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
Copy link
Member

niklasad1 commented Mar 13, 2023

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

Any reason why not to use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants