Cargo features
OS backends follow target_os (no empty Cargo feature toggles). Optional features:
linux(default) — gtk + x11rb for_NET_WM_WINDOW_TYPE_DESKTOPpinrasterize— SVG→PNG data-URI for Adaptive Cards chart/canvas/gauge (pulls resvg)workerw— Windows wallpaper WorkerW parentinglayer-shell— Wayland gtk-layer-shell Background (requireslinux)macos-private-api— transparent macOS desktop widget webviews (also enable TaurimacosPrivateApiin conf)schema/codegen— JSON Schema / TS codegen tooling (dev)
toml
# Default (linux pin enabled; other OS via target_os)
tauri-plugin-widgets = "0.4"
# Slim: no linux pin / no gtk
tauri-plugin-widgets = { version = "0.4", default-features = false }
# Windows Widgets Board with chart rasterization
tauri-plugin-widgets = { version = "0.4", default-features = false, features = ["rasterize"] }