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

Make gh-emoji optional #954

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Make gh-emoji optional #954

merged 1 commit into from
Nov 10, 2021

Conversation

jirutka
Copy link
Contributor

@jirutka jirutka commented Oct 21, 2021

gh-emoji crate includes images of GitHub's emoji - this is quite big dependency. It increases the binary size by 1 MiB; that's +25 % when building v0.18.0 on Alpine Linux with build flags to optimize size. I consider it an unnecessary bloat that should be optional.

Note: I’m maintainer of Alpine Linux’s gitui package (APKBUILD).

@extrawurst
Copy link
Owner

Good observation! Thanks for the contribution!

@jirutka
Copy link
Contributor Author

jirutka commented Oct 21, 2021

The Security audit job is misleading, the reported issue is not related to the changes I made:

Error: Unable to publish audit check! Reason: HttpError: Resource not accessible by integration

@jirutka
Copy link
Contributor Author

jirutka commented Oct 21, 2021

I’m now thinking that it may be better to name this feature ghemoji instead of just emoji? I originally wanted to name it gh-emoji, but Cargo confuses it with name of a crate in the dependencies.

[features]
gh-emoji=["gh-emoji"]

@extrawurst
Copy link
Owner

I’m now thinking that it may be better to name this feature ghemoji instead of just emoji? I originally wanted to name it gh-emoji, but Cargo confuses it with name of a crate in the dependencies.

[features]
gh-emoji=["gh-emoji"]

yeah I think ghemoji is more descriptive 👍

gh-emoji crate includes *images* of GitHub's emoji - this is quite a big
dependency. It increases the binary size by 1 MiB; that's +25 % when
building v0.18.0 on Alpine Linux with build flags to optimize size.
I consider it an unnecessary bloat that should be optional.
@jirutka
Copy link
Contributor Author

jirutka commented Oct 23, 2021

yeah I think ghemoji is more descriptive +1

Okay, changed and rebased against master.

@extrawurst extrawurst merged commit fa7cd37 into extrawurst:master Nov 10, 2021
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.

2 participants