Skip to content

Conversation

Himess
Copy link
Contributor

@Himess Himess commented Mar 11, 2025

This PR updates deprecated #[clap(...)] attributes to their modern equivalents in clap 4.x.
The current codebase still uses outdated syntax that has been deprecated since version 4.0.
By making this update, we ensure compatibility with future versions and maintain code quality.

Fixes #480

@Himess Himess requested a review from a team as a code owner March 11, 2025 13:16
@Himess
Copy link
Contributor Author

Himess commented Mar 14, 2025

@Wollac , I think the failing tests are not related to my PR. Is there anything I can do?

@Wollac
Copy link
Contributor

Wollac commented Mar 14, 2025

I think the failing tests are not related to my PR. Is there anything I can do?

All good, those tests are expected to fail for PRs from outside contributors, but we can still merge.

@Wollac Wollac merged commit 48bb93c into risc0:main Mar 14, 2025
9 of 11 checks passed
capossele pushed a commit that referenced this pull request Mar 17, 2025
…#[command(...)] in v4.x (#481)

This PR updates deprecated `#[clap(...)]` attributes to their modern
equivalents in `clap` 4.x.
The current codebase still uses outdated syntax that has been deprecated
since version 4.0.
By making this update, we ensure compatibility with future versions and
maintain code quality.

Fixes #480

---------

Co-authored-by: Wolfgang Welz <welzwo@gmail.com>
capossele pushed a commit that referenced this pull request Mar 17, 2025
…#[command(...)] in v4.x (#481)

This PR updates deprecated `#[clap(...)]` attributes to their modern
equivalents in `clap` 4.x.
The current codebase still uses outdated syntax that has been deprecated
since version 4.0.
By making this update, we ensure compatibility with future versions and
maintain code quality.

Fixes #480

---------

Co-authored-by: Wolfgang Welz <welzwo@gmail.com>
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.

Migrate #[clap(...)] to #[arg(...)] / #[command(...)] in clap 4.x
2 participants