Cargo Features

piet-common has no features set by default.

[dependencies]
piet-common = { version = "0.6.2", features = ["web", "image", "image_png", "jpeg", "jpeg_rayon", "gif", "bmp", "ico", "tiff", "webp", "pnm", "dds", "tga", "farbfeld", "dxt", "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.

Enables image of piet

image_png

Enables image_png of piet

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

Enables jpeg of piet

jpeg_rayon

Enables jpeg_rayon of piet

gif

Enables gif of piet

bmp

Enables bmp of piet

ico

Enables ico of piet

tiff

Enables tiff of piet

webp

Enables webp of piet

pnm

Enables pnm of piet

dds

Enables dds of piet

tga

Enables tga of piet

farbfeld

Enables farbfeld of piet

dxt

Enables dxt of piet

hdr

Enables hdr of piet

serde

Enables serde of piet

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.

piet-web web?
png implicit feature

Enables png

png:

PNG decoding and encoding library in pure Rust