Skip to content

Commit

Permalink
Merge pull request #465 from AldanTanneo/patch-1
Browse files Browse the repository at this point in the history
Make clap dependency optional, but default & required for building the binary
  • Loading branch information
diwic authored May 27, 2024
2 parents 7cc2ffa + 573db92 commit 63a0f75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dbus-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ path = "src/lib.rs"
[[bin]]
name = "dbus-codegen-rust"
path = "src/main.rs"
required-features = ["clap"]

[features]
default = ["dbus"]
default = ["dbus", "clap"]

[dependencies]
xml-rs = "0.8.3"
dbus = { path = "../dbus", version = "0.9", optional = true }
dbus-tree = { path = "../dbus-tree", version = "0.9", optional = true }
dbus-crossroads = { path = "../dbus-crossroads", version = "0.5", optional = true }
clap = "2.20"
clap = { version = "2.20", optional = true }

[badges]
maintenance = { status = "actively-developed" }
Expand Down

0 comments on commit 63a0f75

Please sign in to comment.