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

ci: use -Z avoid-dev-deps in features check instead of --no-dev-deps #1812

Merged
merged 1 commit into from
Nov 22, 2019
Merged

ci: use -Z avoid-dev-deps in features check instead of --no-dev-deps #1812

merged 1 commit into from
Nov 22, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Nov 22, 2019

Workaround for taiki-e/cargo-hack#15

-Z avoid-dev-deps (tracking-issue: rust-lang/cargo#5133) is an unstable feature of cargo that has almost the same effect as cargo-hack's --no-dev-deps. However, unlike --no-dev-deps, the manifest file is not edited.

FWIW:
-Z avoid-dev-deps works well with cargo check/build/run, but not with cargo publish.
On the other hand, --no-dev-deps doesn't work well with cargo install.

@carllerche carllerche merged commit 7cd63fb into tokio-rs:master Nov 22, 2019
@taiki-e taiki-e deleted the avoid-dev-deps branch November 23, 2019 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants