rust-hsluv icon indicating copy to clipboard operation
rust-hsluv copied to clipboard

Unnecessarily large crate size. (1.1mb)

Open rebo opened this issue 5 years ago • 1 comments

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 avatar Jul 08 '20 09:07 rebo

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

dvdplm avatar Jul 08 '20 12:07 dvdplm