Skip to content

Don't warn about metadata keys in the manifest#2668

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:dont-warn-about-metadata
Jun 12, 2016
Merged

Don't warn about metadata keys in the manifest#2668
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:dont-warn-about-metadata

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

External tools may want to store metadata in Cargo.toml that they read but
Cargo itself doesn't read. For example cargo-apk uses this for pieces of
configuration. Cargo unfortunately, however, warns about these keys as "unused
keys in the manifest"

This commit instead whitelists the package.metadata key to not warn about any
data inside.

@rust-highfive

Copy link
Copy Markdown

r? @wycats

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

Copy link
Copy Markdown
Member Author

r? @brson

@bors

bors commented May 21, 2016

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #2687) made this pull request unmergeable. Please resolve the merge conflicts.

@alexcrichton alexcrichton force-pushed the dont-warn-about-metadata branch from b0712cb to 204d4a6 Compare May 21, 2016 17:22
@bors

bors commented May 26, 2016

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #2743) made this pull request unmergeable. Please resolve the merge conflicts.

@alexcrichton

Copy link
Copy Markdown
Member Author

ping r? @brson

(there's actually a number of pings to go for https://github.com/rust-lang/cargo/pulls/alexcrichton, but I'm gonna elide them in lieu of this one and reduce the emails)

@bors

bors commented Jun 10, 2016

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #2779) made this pull request unmergeable. Please resolve the merge conflicts.

@brson

brson commented Jun 11, 2016

Copy link
Copy Markdown
Contributor

@bors r+. Please add docs.

External tools may want to store metadata in `Cargo.toml` that they read but
Cargo itself doesn't read. For example `cargo-apk` uses this for pieces of
configuration. Cargo unfortunately, however, warns about these keys as "unused
keys in the manifest"

This commit instead whitelists the `package.metadata` key to not warn about any
data inside.
@alexcrichton alexcrichton force-pushed the dont-warn-about-metadata branch from 86bd8c0 to ebd630d Compare June 12, 2016 10:51
@alexcrichton

Copy link
Copy Markdown
Member Author

@bors: r=brson

@bors

bors commented Jun 12, 2016

Copy link
Copy Markdown
Contributor

📌 Commit ebd630d has been approved by brson

@bors

bors commented Jun 12, 2016

Copy link
Copy Markdown
Contributor

⌛ Testing commit ebd630d with merge 83a955b...

bors added a commit that referenced this pull request Jun 12, 2016
Don't warn about `metadata` keys in the manifest

External tools may want to store metadata in `Cargo.toml` that they read but
Cargo itself doesn't read. For example `cargo-apk` uses this for pieces of
configuration. Cargo unfortunately, however, warns about these keys as "unused
keys in the manifest"

This commit instead whitelists the `package.metadata` key to not warn about any
data inside.
@bors

bors commented Jun 12, 2016

Copy link
Copy Markdown
Contributor

@bors bors merged commit ebd630d into rust-lang:master Jun 12, 2016
@alexcrichton alexcrichton deleted the dont-warn-about-metadata branch June 14, 2016 14:34
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.

5 participants