clap4 requires that options implement Send
and Sync
#4347
Labels
A-derive
Area: #[derive]` macro API
C-bug
Category: Updating dependencies
S-waiting-on-design
Status: Waiting on user-facing design to be resolved before implementing
Maintainer's notes
Clone
#4286Please complete the following tasks
Rust Version
rustc 1.64.0 (a55dd71d5 2022-09-19)
Clap Version
3.2.22 and 4.0.9
Minimal reproducible code
Steps to reproduce the bug with the above code
With this manifest:
run
cargo build
Actual Behaviour
The
clap4
module fails to compile but theclap3
module succeeds.Expected Behaviour
This application has no need to require that
MyApp
is eitherSend
orSync
hence the usage offCell
, and ideally upgrading to clap 4 would preserve the ability to have this same type structure in options.Additional Context
No response
Debug Output
No extra output is printed at this time. (this is a compile error not a runtime error)
The text was updated successfully, but these errors were encountered: