File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ - Make binary dependencies optional
11
+
10
12
## [ v0.24.0] - 2022-05-12
11
13
12
14
[ commits] [ v0.24.0 ]
Original file line number Diff line number Diff line change @@ -33,12 +33,17 @@ section = "rust"
33
33
doc = false
34
34
name = " svd2rust"
35
35
path = " src/main.rs"
36
+ required-features = [" bin" ]
37
+
38
+ [features ]
39
+ default = [" bin" ]
40
+ bin = [" clap" , " clap_conf" , " env_logger" ]
36
41
37
42
[dependencies ]
38
43
cast = " 0.3"
39
- clap = " 2.33"
40
- clap_conf = " 0.1.5"
41
- env_logger = " 0.9"
44
+ clap = { version = " 2.33" , optional = true }
45
+ clap_conf = { version = " 0.1.5" , optional = true }
46
+ env_logger = { version = " 0.9" , optional = true }
42
47
inflections = " 1.1"
43
48
log = { version = " ~0.4" , features = [" std" ] }
44
49
quote = " 1.0"
You can’t perform that action at this time.
0 commit comments