File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -14,22 +14,30 @@ edition = "2018"
14
14
[[bin ]]
15
15
name = " rustfmt"
16
16
path = " src/rustfmt/main.rs"
17
+ required-features = [" rustfmt" ]
17
18
18
19
[[bin ]]
19
20
name = " cargo-fmt"
20
21
path = " src/cargo-fmt/main.rs"
22
+ required-features = [" cargo-fmt" ]
21
23
22
24
[[bin ]]
23
25
name = " rustfmt-format-diff"
24
26
path = " src/format-diff/main.rs"
27
+ required-features = [" rustfmt-format-diff" ]
25
28
26
29
[[bin ]]
27
30
name = " git-rustfmt"
28
31
path = " src/git-rustfmt/main.rs"
32
+ required-features = [" git-rustfmt" ]
29
33
30
34
[features ]
31
- default = [" cargo-fmt" , " config" , " emitter" , " rustfmt-format-diff" ]
32
- cargo-fmt = [" cargo_metadata" , " structopt" ]
35
+ default = [" config" , " emitter" ]
36
+ cargo-fmt = [
37
+ " cargo_metadata" ,
38
+ " structopt" ,
39
+ ]
40
+
33
41
rustfmt-format-diff = [
34
42
" env_logger" ,
35
43
" serde" ,
You can’t perform that action at this time.
0 commit comments