mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
ed45de2f03
The remove functions no longer return `Arc` but the core type, at the cost of requiring `Clone`. I originally held off on this in #3732 in the hope of gracefully transition the derive and requiring `Clone` would have been a breaking change but when it came to #3734, I didn't find a way to make it work without a breaking change, so I made it opt-in. This means I can force the `Clone` requirement now. I added the requirement for `Clone` everywhere else in the hopes that in the future, we can drop the `Arc` without a breaking change. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
clap_derive
Macro implementation for clap's derives.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING for more details.