File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,15 @@ structure:
105
105
This property is not included if no required features are set.
106
106
*/
107
107
" required-features" : [" feat1" ],
108
+ /* Whether the target should be documented by `cargo doc`. */
109
+ " doc" : true ,
108
110
/* Whether or not this target has doc tests enabled, and
109
111
the target is compatible with doc testing.
110
112
*/
111
113
" doctest" : true
114
+ /* Whether or not this target should be built and run with `--test`
115
+ */
116
+ " test" : true
112
117
},
113
118
/* The message emitted by the compiler.
114
119
@@ -146,6 +151,7 @@ following structure:
146
151
" name" : " my-package" ,
147
152
" src_path" : " /path/to/my-package/src/lib.rs" ,
148
153
" edition" : " 2018" ,
154
+ " doc" : true ,
149
155
" doctest" : true ,
150
156
" test" : true
151
157
},
You can’t perform that action at this time.
0 commit comments