Skip to content

Enable the help and usage features for clap in the bin crate member - #161

Draft
skorobogatydmitry wants to merge 2 commits into
aya-rs:mainfrom
skorobogatydmitry:sd/fix-clap-help
Draft

Enable the help and usage features for clap in the bin crate member#161
skorobogatydmitry wants to merge 2 commits into
aya-rs:mainfrom
skorobogatydmitry:sd/fix-clap-help

Conversation

@skorobogatydmitry

@skorobogatydmitry skorobogatydmitry commented Oct 25, 2025

Copy link
Copy Markdown

clap doesn't generate help without the default features.


This change is Reviewable

Comment thread {{project-name}}/Cargo.toml Outdated
@skorobogatydmitry skorobogatydmitry changed the title Enable default features for clap in the bin crate member Enable the help and usage features for clap in the bin crate member Nov 25, 2025
@tamird

tamird commented Nov 25, 2025

Copy link
Copy Markdown
Member

Would you mind squashing your commits?

] }
{% if program_types_with_opts contains program_type -%}
clap = { workspace = true, features = ["derive"] }
clap = { workspace = true, default-features = false, features = [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to repeat default-features = false here since we have it in the workspace dep

@tamird
tamird marked this pull request as draft April 14, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants