-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
doc: add public
info in cargo-add
man page.
#13272
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r? @ehuss (rustbot has picked a reviewer for you, use r? to override) |
rustbot
added
A-cli-help
Area: built-in command-line help
A-documenting-cargo-itself
Area: Cargo's documentation
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Jan 9, 2024
@bors r+ |
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
Jan 9, 2024
bors
added a commit
that referenced
this pull request
Jan 9, 2024
doc: add `public` info in `cargo-add` man page. ### What does this PR try to resolve? follow up #13046 add `public/private` explanation for `cargo-add` in man page. ### How should we test and review this PR? ### Additional information
weihanglo
reviewed
Jan 9, 2024
@bors r- |
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
Jan 9, 2024
☀️ Try build successful - checks-actions |
linyihai
force-pushed
the
cargo-add-public-manpage
branch
from
January 10, 2024 12:25
d973c25
to
ee34a27
Compare
rustbot
added
A-cli
Area: Command-line interface, option parsing, etc.
Command-add
labels
Jan 10, 2024
@rustbot ready |
rustbot
added
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
and removed
S-waiting-on-author
Status: The marked PR is awaiting some action (such as code changes) from the PR author.
labels
Jan 10, 2024
linyihai
force-pushed
the
cargo-add-public-manpage
branch
from
January 10, 2024 14:03
ee34a27
to
f9c9185
Compare
epage
reviewed
Jan 10, 2024
linyihai
force-pushed
the
cargo-add-public-manpage
branch
from
January 10, 2024 14:59
f9c9185
to
3ad55cb
Compare
linyihai
force-pushed
the
cargo-add-public-manpage
branch
from
January 10, 2024 16:06
3ad55cb
to
0ac0a18
Compare
linyihai
force-pushed
the
cargo-add-public-manpage
branch
from
January 11, 2024 15:26
0ac0a18
to
61f6e07
Compare
linyihai
force-pushed
the
cargo-add-public-manpage
branch
from
January 11, 2024 15:41
61f6e07
to
f141c10
Compare
Thanks! @bors r+ |
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
Jan 11, 2024
bors
added a commit
that referenced
this pull request
Jan 11, 2024
doc: add `public` info in `cargo-add` man page. ### What does this PR try to resolve? follow up #13046 add `public/private` explanation for `cargo-add` in man page. ### How should we test and review this PR? ### Additional information The help info would be like this - `cargo help add` ``` --public Mark the dependency as public. The dependency can be referenced in your library’s public API. Unstable (nightly-only) <https://doc.rust-lang.org/cargo/reference/unstable.html#public-dependency> --no-public Mark the dependency as private. While you can use the crate in your implementation, it cannot be referenced in your public API. Unstable (nightly-only) <https://doc.rust-lang.org/cargo/reference/unstable.html#public-dependency> ``` - `cargo add -h` ``` --public Mark the dependency as public (unstable) --no-public Mark the dependency as private (unstable) ``` - `cargo add --help` ``` --public Mark the dependency as public (unstable) The dependency can be referenced in your library's public API. --no-public Mark the dependency as private (unstable) While you can use the crate in your implementation, it cannot be referenced in your public API. ```
💥 Test timed out |
bors
added
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
and removed
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
labels
Jan 11, 2024
@bors retry |
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
Jan 11, 2024
☀️ Test successful - checks-actions |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jan 13, 2024
Update cargo 8 commits in 3e428a38a34e820a461d2cc082e726d3bda71bcb..84976cd699f4aea56cb3a90ce3eedeed9e20d5a5 2024-01-09 20:46:36 +0000 to 2024-01-12 15:55:43 +0000 - fix(resolver): do not panic when sorting empty summaries (rust-lang/cargo#13287) - Implementation of shallow libgit2 fetches behind an unstable flag (rust-lang/cargo#13252) - Add documentation entry for unstable `--output-format` flag (rust-lang/cargo#13284) - doc: add `public` info in `cargo-add` man page. (rust-lang/cargo#13272) - More docs on prerelease compat (rust-lang/cargo#13286) - Add unstable `--output-format` option to `cargo rustdoc` (rust-lang/cargo#12252) - feat: Add `rustc` style errors for manifest parsing (rust-lang/cargo#13172) - Document why `du` function uses mutex (rust-lang/cargo#13273) r? ghost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-cli
Area: Command-line interface, option parsing, etc.
A-cli-help
Area: built-in command-line help
A-documenting-cargo-itself
Area: Cargo's documentation
Command-add
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR try to resolve?
follow up #13046
add
public/private
explanation forcargo-add
in man page.How should we test and review this PR?
Additional information
The help info would be like this
cargo help add
cargo add -h
cargo add --help