Skip to content

Commit

Permalink
fix: cargo release by adding help feature to clap dependency
Browse files Browse the repository at this point in the history
since `cargo build` seems ignore `default-features` on the workspace level
and enables default features for inherited dependencies. `cargo release`
OTOH seems to behave correctly and does not ignore `default-features` on
the workspace level and the build fails due to `Command::help_template`
is hidden behind the `help` feature.
  • Loading branch information
greenhat committed Aug 30, 2024
1 parent 0023be4 commit da8c234
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ clap = { version = "4.1", default-features = false, features = [
"derive",
"std",
"env",
"help",
] }
cranelift-entity = "0.108"
cranelift-bforest = "0.108"
Expand Down

0 comments on commit da8c234

Please sign in to comment.