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

Remove version from path dev-dependencies to make it easier to publish #2305

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Jan 6, 2021

Since 1.40 (rust-lang/cargo#7333), cargo will strip dev-dependencies that don't have a version.
This removes the need to manually strip dev-dependencies when publishing a crate that has circular dev-dependencies. (i.e., this works as a workaround of rust-lang/cargo#4242)
I recently confirmed in pin-project(-internal) that this works: taiki-e/pin-project@8525d86, https://crates.io/crates/pin-project-internal/1.0.3

FYI @cramertj @Nemo157
FYI #2025

@taiki-e taiki-e merged commit 62e0328 into rust-lang:master Jan 7, 2021
@taiki-e taiki-e deleted the dev-deps branch January 7, 2021 10:52
exrook pushed a commit to exrook/futures-rs that referenced this pull request Apr 5, 2021
Dunqing pushed a commit to oxc-project/oxc that referenced this pull request Jul 23, 2024
DonIsaac pushed a commit to oxc-project/oxc that referenced this pull request Jul 23, 2024
DonIsaac pushed a commit to oxc-project/oxc that referenced this pull request Jul 24, 2024
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.

1 participant