Cargo Features
[dependencies]
picto = { version = "0.4.4", default-features = false, features = ["nightly", "processing", "jpeg", "bmp", "tga", "gif", "png", "xyz"] }
- default = bmp, gif, jpeg, png, processing, tga, xyz
-
These default features are set whenever
picto
is added without
somewhere in the dependency tree.default-features = false - nightly
- processing default = color_quant, exoquant
-
Affects
picto::processing
… - jpeg default = jpeg-decoder
-
Affects
decoder::jpeg
,read::jpeg
… - bmp default = imagefmt
-
Affects
decoder::bmp
,encoder::bmp
,read::bmp
,write::bmp
… - tga default = imagefmt
-
Affects
decoder::tga
,encoder::tga
,read::tga
,write::tga
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- color_quant processing
- exoquant processing
- gif default
-
Enables gif ^0.9
Affects
decoder::gif
,encoder::gif
,read::gif
,write::gif
… - jpeg-decoder jpeg
-
Enables jpeg-decoder ^0.1
- png default
-
Enables png ^0.6
Affects
decoder::png
,encoder::png
,read::png
,write::png
… - xyz default
-
Affects
decoder::xyz
,read::xyz
… - imagefmt bmp tga