Skip to content

tarball/Package: Add name and version as required fields #6905

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

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jul 31, 2023

This matches https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata, which says:

The only fields required by Cargo are name and version.

With this PR our publish endpoint will no longer accept tarballs with Cargo.toml files that are missing these fields.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Jul 31, 2023
@Turbo87 Turbo87 force-pushed the require-name-and-version branch from 4ab5a51 to 1bb86ef Compare July 31, 2023 20:37
@Turbo87 Turbo87 merged commit 72d2346 into rust-lang:main Aug 1, 2023
@Turbo87 Turbo87 deleted the require-name-and-version branch August 1, 2023 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant