Cargo Features
Piet has no features set by default.
[dependencies]
piet = { version = "0.7.0", features = ["samples", "image_png", "jpeg", "gif", "bmp", "ico", "tiff", "webp", "pnm", "dds", "tga", "hdr", "serde"] }
- samples = os_info, pico-args, png
-
Affects
piet::samples
… - image_png = image
-
passing on all the image features. AVIF is not supported because it does not support decoding, and thats al we use
Image
for. - jpeg = image
- gif = image
- bmp = image
- ico = image
- tiff = image
- webp = image
- pnm = image
- dds = image
- tga = image
- hdr = image
- serde
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.