@@ -9,6 +9,7 @@ pub struct Options {
9
9
flag_package : Vec < String > ,
10
10
flag_jobs : Option < u32 > ,
11
11
flag_features : Vec < String > ,
12
+ flag_all_features : bool ,
12
13
flag_no_default_features : bool ,
13
14
flag_target : Option < String > ,
14
15
flag_manifest_path : Option < String > ,
@@ -42,6 +43,7 @@ Options:
42
43
-p SPEC, --package SPEC ... Package to run benchmarks for
43
44
-j N, --jobs N Number of parallel jobs, defaults to # of CPUs
44
45
--features FEATURES Space-separated list of features to also build
46
+ --all-features Build all available features
45
47
--no-default-features Do not build the `default` feature
46
48
--target TRIPLE Build for the target triple
47
49
--manifest-path PATH Path to the manifest to build benchmarks for
@@ -83,6 +85,7 @@ pub fn execute(options: Options, config: &Config) -> CliResult<Option<()>> {
83
85
jobs : options. flag_jobs ,
84
86
target : options. flag_target . as_ref ( ) . map ( |s| & s[ ..] ) ,
85
87
features : & options. flag_features ,
88
+ all_features : options. flag_all_features ,
86
89
no_default_features : options. flag_no_default_features ,
87
90
spec : & options. flag_package ,
88
91
exec_engine : None ,
0 commit comments