Cargo Features

[dependencies]
blurhash = { version = "0.2.3", default-features = false, features = ["image", "gdk-pixbuf", "fast-linear-to-srgb"] }
default = fast-linear-to-srgb

The fast-linear-to-srgb feature is set by default whenever blurhash is added without default-features = false somewhere in the dependency tree.

image

Enables image

Affects blurhash::encode_image, blurhash::decode_image

gdk-pixbuf

Enables gdk-pixbuf >=0.18, <=0.19

Affects blurhash::encode_pixbuf, blurhash::decode_pixbuf

fast-linear-to-srgb default

Affects util::linear_to_srgb