Skip to content

Conversation

matthiasbeyer
Copy link
Contributor

This was accidentially overlooked when writing the documentation.

Closes #11129

@Muscraft I hope I was faster than you!

This was accidentially overlooked when writing the documentation.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 22, 2022
Copy link
Member

@Muscraft Muscraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this! You definitely were faster than I was!

To give more context to this PR. There were a few docs that contained [project] instead of [package] which isn't documented anywhere and really shouldn't be used anywhere. In the early days of cargo (2014 IIRC can't find the change) [project] was renamed to [package] and its remnants can be found in different places to this day (a lot in the testsuite).

@epage
Copy link
Contributor

epage commented Sep 22, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Sep 22, 2022

📌 Commit 4efd3a3 has been approved by epage

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 22, 2022
@epage
Copy link
Contributor

epage commented Sep 22, 2022

@bors retry

@ehuss
Copy link
Contributor

ehuss commented Sep 23, 2022

Testing bors fix
@bors r-

@bors bors added S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 23, 2022
@ehuss ehuss closed this Sep 23, 2022
@ehuss ehuss reopened this Sep 23, 2022
@ehuss
Copy link
Contributor

ehuss commented Sep 23, 2022

@bors r=epage

@bors
Copy link
Contributor

bors commented Sep 23, 2022

📌 Commit 4efd3a3 has been approved by epage

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. labels Sep 23, 2022
@Muscraft
Copy link
Member

There still seems to be an error with this. I'll cherry-pick the commit and add it to a branch of mine that needs it. That way it can get merged.

@ehuss
Copy link
Contributor

ehuss commented Sep 23, 2022

@bors r-

@bors bors added S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 23, 2022
bors added a commit that referenced this pull request Sep 27, 2022
Reduce references to `[project]` within cargo

There was an issue (#11129) with `[project]` being put in the docs but nothing else stating what `[project]` is. This was an oversight by me when writing the docs as `[project]` is still supported in cargo. [Back in 2014](86b2a2a) `[project]` was [renamed to `[package]`](#3388 (comment)), since then it has kinda sat as something that exists and is supported but not really. I brought this up in a [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/removal.20of.20.60.5Bproject.5D.60), and it was suggested that we could show a warning when `[project]` is used in a manifest of a _top-level_ crate.

To go slightly further than this I tried to change as many references from `[project]` to `[package]` as possible. This should hopefully help with confusion between `[project]` and `[package]` in the future.

This PR also includes a cherry-picked commit from #11131 as it was having issues with bors and fits well with the changes that are being made in this PR.

This should ideally be reviewed commit by commit
@weihanglo
Copy link
Member

Close as CI seems broken with no reason (why appveyor revives?!), and the commit is cherry-picked by #11135. Thank you for the quick fix anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unknown [project] table in cargo docs
7 participants