1CARGO-OWNER(1)              General Commands Manual             CARGO-OWNER(1)
2
3
4

NAME

6       cargo-owner - Manage the owners of a crate on the registry
7

SYNOPSIS

9       cargo owner [options] --add login [crate]
10       cargo owner [options] --remove login [crate]
11       cargo owner [options] --list [crate]
12

DESCRIPTION

14       This command will modify the owners for a crate on the registry. Owners
15       of a crate can upload new versions and yank old versions. Non-team
16       owners can also modify the set of owners, so take care!
17
18       This command requires you to be authenticated with either the --token
19       option or using cargo-login(1).
20
21       If the crate name is not specified, it will use the package name from
22       the current directory.
23
24       See the reference
25       <https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner>
26       for more information about owners and publishing.
27

OPTIONS

29   Owner Options
30       -a, --add login...
31           Invite the given user or team as an owner.
32
33       -r, --remove login...
34           Remove the given user or team as an owner.
35
36       -l, --list
37           List owners of a crate.
38
39       --token token
40           API token to use when authenticating. This overrides the token
41           stored in the credentials file (which is created by
42           cargo-login(1)).
43
44           Cargo config
45           <https://doc.rust-lang.org/cargo/reference/config.html> environment
46           variables can be used to override the tokens stored in the
47           credentials file. The token for crates.io may be specified with the
48           CARGO_REGISTRY_TOKEN environment variable. Tokens for other
49           registries may be specified with environment variables of the form
50           CARGO_REGISTRIES_NAME_TOKEN where NAME is the name of the registry
51           in all capital letters.
52
53       --index index
54           The URL of the registry index to use.
55
56       --registry registry
57           Name of the registry to use. Registry names are defined in Cargo
58           config files
59           <https://doc.rust-lang.org/cargo/reference/config.html>. If not
60           specified, the default registry is used, which is defined by the
61           registry.default config key which defaults to crates-io.
62
63   Display Options
64       -v, --verbose
65           Use verbose output. May be specified twice for "very verbose"
66           output which includes extra output such as dependency warnings and
67           build script output. May also be specified with the term.verbose
68           config value
69           <https://doc.rust-lang.org/cargo/reference/config.html>.
70
71       -q, --quiet
72           No output printed to stdout.
73
74       --color when
75           Control when colored output is used. Valid values:
76
77           ·  auto (default): Automatically detect if color support is
78               available on the terminal.
79
80           ·  always: Always display colors.
81
82           ·  never: Never display colors.
83
84           May also be specified with the term.color config value
85           <https://doc.rust-lang.org/cargo/reference/config.html>.
86
87   Common Options
88       +toolchain
89           If Cargo has been installed with rustup, and the first argument to
90           cargo begins with +, it will be interpreted as a rustup toolchain
91           name (such as +stable or +nightly). See the rustup documentation
92           <https://rust-lang.github.io/rustup/overrides.html> for more
93           information about how toolchain overrides work.
94
95       -h, --help
96           Prints help information.
97
98       -Z flag
99           Unstable (nightly-only) flags to Cargo. Run cargo -Z help for
100           details.
101

ENVIRONMENT

103       See the reference
104       <https://doc.rust-lang.org/cargo/reference/environment-variables.html>
105       for details on environment variables that Cargo reads.
106

EXIT STATUS

108       ·  0: Cargo succeeded.
109
110       ·  101: Cargo failed to complete.
111

EXAMPLES

113        1. List owners of a package:
114
115               cargo owner --list foo
116
117        2. Invite an owner to a package:
118
119               cargo owner --add username foo
120
121        3. Remove an owner from a package:
122
123               cargo owner --remove username foo
124

SEE ALSO

126       cargo(1), cargo-login(1), cargo-publish(1)
127
128
129
130                                                                CARGO-OWNER(1)
Impressum