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