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

Unnecessarily large crate size. (1.1mb) #2

Open
rebo opened this issue Jul 8, 2020 · 1 comment
Open

Unnecessarily large crate size. (1.1mb) #2

rebo opened this issue Jul 8, 2020 · 1 comment

Comments

@rebo
Copy link

rebo commented Jul 8, 2020

Hi,

It seems the crate size is about 1.1mb, I think this is down to the gif displayed in the readme.

We would like to use rust-hsluv in our project however ideally would like to not pull in 1.1mb gif if it is not needed.

I think you can exclude files from the crate with this directive?

[package]
# ...
exclude = [
    "public/assets/*",
    "videos/*",
]

If you could exclude the gif from the crate in this way that would be great.

thanks

@rebo rebo changed the title Unnecessaryily large crate size. (1.1mb) Unnecessarily large crate size. (1.1mb) Jul 8, 2020
@dvdplm
Copy link
Owner

dvdplm commented Jul 8, 2020

Sure, I don't see why not. If you want to feel free to open a PR, otherwise I'll do it.

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

No branches or pull requests

2 participants