Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Macro API #2835

Closed
epage opened this issue Oct 9, 2021 · 5 comments · Fixed by #2848
Closed

Deprecate Macro API #2835

epage opened this issue Oct 9, 2021 · 5 comments · Fixed by #2848
Milestone

Comments

@epage
Copy link
Member

epage commented Oct 9, 2021

The Macro API was meant to be a performant, ergonomic version of the builder API. However, there is a level of technical load in keeping it around and sufficiently documented and seems to mostly go unused.

Let's deprecate it for 3.0 and either spin it off into a standalone crate or remote it completely in a followup version.

@epage epage added this to the 3.0 milestone Oct 9, 2021
epage added a commit to epage/clap that referenced this issue Oct 11, 2021
epage added a commit to epage/clap that referenced this issue Oct 11, 2021
@bors bors bot closed this as completed in 0a53faf Oct 12, 2021
@epage
Copy link
Member Author

epage commented Dec 8, 2021

If users decide to fork clap_app and continue its development, some relevant commits

@UltiRequiem
Copy link

keeping it around and sufficiently documented and seems to mostly go unused.

I really like it and I was using it in most of my projects 😭

@epage
Copy link
Member Author

epage commented Apr 5, 2022

I did say "mostly" :)

You are welcome to split it out into a separate crate!

@UltiRequiem
Copy link

I did say "mostly" :)

You are welcome to split it out into a separate crate!

I'm updating them to use the Derivate API, which is cool too.

Thanks for the hard work!

@bergkvist
Copy link

I miss the clap_app! macro as well

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 a pull request may close this issue.

3 participants