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

Workspace: Inherit project-oriented Cargo.toml attributes #1711

Closed
behnam opened this issue Apr 8, 2019 · 1 comment
Closed

Workspace: Inherit project-oriented Cargo.toml attributes #1711

behnam opened this issue Apr 8, 2019 · 1 comment

Comments

@behnam
Copy link
Contributor

behnam commented Apr 8, 2019

Having a workspace set up for multiple related crates, there's usually a big chunk of Cargo.toml attributes which need to be copy-pasted across all instances.

For example, in UNIC, we have (at least) these lines in all (published) Cargo.toml files:

[badges]
maintenance = { status = "actively-developed" }
is-it-maintained-issue-resolution = { repository = "open-i18n/rust-unic" }
is-it-maintained-open-issues = { repository = "open-i18n/rust-unic" }
appveyor = { repository = "open-i18n/rust-unic", branch = "master", service = "github" }
travis-ci = { repository = "open-i18n/rust-unic", branch = "master" }

Most of such properties are project-specific, but not crate-specific. For example, an indicator of that would be the fact that the share the same repository value.

It would be great if we could actually have such project-oriented attributes inherit from the workspace's main Cargo.toml, and do no need to maintain copies of them.

Wdyt?

@behnam
Copy link
Contributor Author

behnam commented Apr 8, 2019

Oops, wrong repo. Filed here: rust-lang/cargo#6828

@behnam behnam closed this as completed Apr 8, 2019
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

No branches or pull requests

1 participant