Cargo Features
[dependencies]
ril = { version = "0.10.3", default-features = false, features = ["all", "all-pure", "png", "jpeg", "gif", "webp", "resize", "text", "quantize", "gradient", "static"] }
- default = gradient, quantize, resize, text
-
These default features are set whenever
ril
is added without
somewhere in the dependency tree.default-features = false - all = all-pure, webp
- all-pure all? = gif, jpeg, png, quantize, resize, text
- png all-pure?
-
Enables png
Affects
encodings::png
… - jpeg all-pure?
-
Enables jpeg-decoder and jpeg-encoder
Affects
encodings::jpeg
… - gif all-pure?
-
Enables gif
Affects
encodings::gif
… - webp all?
-
Enables libwebp-sys2
Affects
encodings::webp
… - resize default all-pure?
-
Enables fast_image_resize ^4.0
- text default all-pure?
-
Enables fontdue ^0.7
Affects
ril::text
… - quantize default all-pure?
-
Enables color_quant
Affects
quantize::quantize_lossy
… - gradient default
-
Enables colorgrad ^0.6
Affects
ril::gradient
… - static
-
Enables static of optional libwebp-sys2