File tree 4 files changed +6
-2
lines changed
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
# cargo-add(1)
2
+
2
3
{{* set actionverb="Add"}}
3
4
{{* set nouns="adds"}}
4
5
@@ -115,7 +116,7 @@ Disable the [default features](../reference/features.html#dependency-features).
115
116
Re-enable the [ default features] ( ../reference/features.html#dependency-features ) .
116
117
{{/option}}
117
118
118
- {{#option "` --features ` _ features_ " }}
119
+ {{#option "` -F ` _ features _ " " ` - -features` _ features_ " }}
119
120
Space or comma separated list of [ features to
120
121
activate] ( ../reference/features.html#dependency-features ) . When adding multiple
121
122
crates, the features for a specific crate may be enabled with
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ OPTIONS
103
103
Re-enable the default features
104
104
<https://doc.rust-lang.org/cargo/reference/features.html#dependency-features>.
105
105
106
- --features features
106
+ -F features, - -features features
107
107
Space or comma separated list of features to activate
108
108
<https://doc.rust-lang.org/cargo/reference/features.html#dependency-features>.
109
109
When adding multiple crates, the features for a specific crate may
Original file line number Diff line number Diff line change 2
2
3
3
4
4
5
+
5
6
## NAME
6
7
7
8
cargo-add --- Add dependencies to a Cargo.toml manifest file
@@ -121,6 +122,7 @@ which is defined by the <code>registry.default</code> config key which defaults
121
122
<dd class =" option-desc " >Re-enable the <a href =" ../reference/features.html#dependency-features " >default features</a >.</dd >
122
123
123
124
125
+ <dt class =" option-term " id =" option-cargo-add--F " ><a class =" option-anchor " href =" #option-cargo-add--F " ></a ><code >-F</code > <em >features</em ></dt >
124
126
<dt class =" option-term " id =" option-cargo-add---features " ><a class =" option-anchor " href =" #option-cargo-add---features " ></a ><code >--features</code > <em >features</em ></dt >
125
127
<dd class =" option-desc " >Space or comma separated list of <a href =" ../reference/features.html#dependency-features " >features to
126
128
activate</a >. When adding multiple
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ Disable the \fIdefault features\fR <https://doc.rust\-lang.org/cargo/reference/f
130
130
Re\- enable the \fI default features \fR <https://doc.rust\- lang.org/cargo/reference/features.html#dependency\- features>\& .
131
131
.RE
132
132
.sp
133
+ \fB \- F \fR \fI features \fR ,
133
134
\fB \-\- features \fR \fI features \fR
134
135
.RS 4
135
136
Space or comma separated list of \fI features to
You can’t perform that action at this time.
0 commit comments