Cargo Features

iced_widget has no features set by default.

[dependencies]
iced_widget = { version = "0.12.1", features = ["lazy", "image", "svg", "canvas", "qr_code", "wgpu"] }
lazy = ouroboros

Affects helpers::lazy, helpers::component, helpers::responsive

image

Enables image of iced_renderer

Affects helpers::image, iced_widget::image

svg

Enables svg of iced_renderer

Affects helpers::svg, iced_widget::svg

canvas qr_code?

Enables geometry of iced_renderer

Affects helpers::canvas, iced_widget::canvas

qr_code = canvas, qrcode

Affects helpers::qr_code, iced_widget::qr_code

wgpu

Enables wgpu of iced_renderer

Affects helpers::shader, iced_widget::shader

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

ouroboros lazy?
qrcode qr_code?