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

perf(error): Allow custmizing formatting #4111

Merged
merged 4 commits into from
Aug 24, 2022
Merged

perf(error): Allow custmizing formatting #4111

merged 4 commits into from
Aug 24, 2022

Conversation

epage
Copy link
Member

@epage epage commented Aug 24, 2022

For now, there isn't much a custom implementation can do.

Going from Rich to Null drops about 6 KiB from the binary

This is a part of #1365 and #1384

epage added 4 commits August 24, 2022 11:00
This is prep for creating a formatter trait to select alternative
implementations for errors.
Looks like this dropped 2 KiB
For now, there isn't much a custom implementation can do.

Going from `Rich` to `Null` drops about 6 KiB from the binary

This is a part of clap-rs#1365 and clap-rs#1384
@epage epage merged commit d219c69 into clap-rs:master Aug 24, 2022
@epage epage deleted the error branch August 24, 2022 17:57
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.

1 participant