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.

Enables png of image

jpeg = image

Enables jpeg of image

gif = image

Enables gif of image

bmp = image

Enables bmp of image

ico = image

Enables ico of image

tiff = image

Enables tiff of image

webp = image

Enables webp of image

pnm = image

Enables pnm of image

dds = image

Enables dds of image

tga = image

Enables tga of image

hdr = image

Enables hdr of image

serde

Enables serde of kurbo

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.

image bmp? dds? gif? hdr? ico? image_png? jpeg? pnm? tga? tiff? webp?
pico-args samples?
png samples?
os_info samples?