Skip to content

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
Collaborator

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
Collaborator

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 gitui-org: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