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/).
77
88## [ Unreleased]
99
10+ - Make binary dependencies optional
11+
1012## [ v0.24.0] - 2022-05-12
1113
1214[ commits] [ v0.24.0 ]
Original file line number Diff line number Diff line change @@ -33,12 +33,17 @@ section = "rust"
3333doc = false
3434name = " svd2rust"
3535path = " src/main.rs"
36+ required-features = [" bin" ]
37+
38+ [features ]
39+ default = [" bin" ]
40+ bin = [" clap" , " clap_conf" , " env_logger" ]
3641
3742[dependencies ]
3843cast = " 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 }
4247inflections = " 1.1"
4348log = { version = " ~0.4" , features = [" std" ] }
4449quote = " 1.0"
You can’t perform that action at this time.
0 commit comments