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

change(doc): Add instructions for new placeholder crates #7751

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion book/src/dev/crate-owners.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,21 @@ please paste the token found on https://crates.io/me below
Login token for `crates.io` saved
```

## Crate Ownership
## Publishing New Crates

We publish a new placeholder crate as soon as we have a good idea for a crate name.

To publish a new placeholder and set the owners:
oxarbitrage marked this conversation as resolved.
Show resolved Hide resolved
```sh
cargo new new-crate-name
cd new-crate-name
cargo release publish --verbose --package new-crate-name --execute
cargo owner --add oxarbitrage
cargo owner --add teor2345
cargo owner --add ZcashFoundation/owners
oxarbitrage marked this conversation as resolved.
Show resolved Hide resolved
```

## Changing Crate Ownership

crates.io has two kinds of owners: group owners and individual owners. All owners can publish and yank crates.
But [only individual owners can change crate owners](https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner).
Expand Down
Loading