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

Support inheriting edition from workspace manifest #190

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Sep 22, 2022

See https://doc.rust-lang.org/1.64.0/cargo/reference/workspaces.html#the-package-table.

In workspace manifest:

[workspace.package]
edition = "2021"

In the manifest of the library being tested:

[package]
name = …
version = …
edition.workspace = true

@dtolnay dtolnay merged commit 5b5eeea into master Sep 22, 2022
@dtolnay dtolnay deleted the inherit branch September 22, 2022 22:52
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