lambdaworks
lambdaworks copied to clipboard
Migrate #[clap(...)] to #[arg(...)] / #[command(...)] in clap 4.x
In clap version 4.x and above, the use of #[clap(...)] is no longer valid.
Many instances of #[clap(...)] are still present in the project.
These should be replaced with #[arg(...)] or #[command(...)].
I ran the following command to check for deprecated clap attributes:
cargo check --features clap/deprecated
The following warnings were generated: