Cargo Features
[dependencies]
iced_baseview = { version = "0.2.2", default-features = false, features = ["nice-log", "tracing", "app-builder", "wgpu", "wgpu-bare", "tiny-skia", "image", "image-without-codecs", "svg", "canvas", "qr_code", "markdown", "lazy", "debug", "time-travel", "hot", "thread-pool", "tokio", "smol", "sysinfo", "web-colors", "crisp", "highlighter", "selector", "advanced", "fira-sans", "basic-shaping", "advanced-shaping", "strict-assertions", "unconditional-rendering", "sipper", "x11"] }
- default = app-builder, crisp, thread-pool, tiny-skia, tracing, web-colors, wgpu, x11
-
These default features are set whenever
iced_baseviewis added withoutsomewhere in the dependency tree.default-features = false - nice-log
-
Enables logging using nice-plug's logging feature
Enables nice-plug-core
- tracing default
-
Enable this if
nice-logis disabledEnables tracing
- app-builder default
-
Enable the default application builder method. Disable this if you wish to create your own custom wrapper for users.
Affects
iced_baseview::application… - wgpu default = wgpu-bare
-
Enables the
wgpuGPU-accelerated renderer with all its default features (Vulkan, Metal, DX12, OpenGL, and WebGPU) This can be disabled if you wish to reduce the binary size of plugins with simple GUIs.Enables wgpu of iced_renderer
- wgpu-bare wgpu
-
Enables the
wgpuGPU-accelerated renderer with the minimum required features (no backends!)Enables wgpu-bare of iced_renderer
- tiny-skia default
-
Enables the
tiny-skiasoftware rendererEnables tiny-skia of iced_renderer
- image = image-without-codecs
-
Enables the
imagewidgetEnables image
Affects
iced_baseview::widget.image… - image-without-codecs image?
-
Enables the
imagewidget, without any built-in codecs of theimagecrateEnables image, image of iced_widget
- svg
-
Enables the
svgwidgetEnables svg of iced_widget
- canvas
-
Enables the
canvaswidgetEnables canvas of iced_widget
- qr_code
-
Enables the
qr_codewidgetEnables qr_code of iced_widget
- markdown
-
Enables the
markdownwidgetEnables markdown of iced_widget
- lazy
-
Enables lazy widgets
Enables lazy of iced_widget
- debug hot? time-travel?
-
Enables debug metrics (press F12)
Enables iced_devtools, enable of iced_debug, debug of iced_program
- time-travel = debug
-
Enables time-travel debugging (very experimental!)
Enables time-travel of iced_devtools and iced_program
- hot = debug
-
Enables hot reloading (very experimental!)
Enables hot of iced_debug
- thread-pool default
-
Enables the
thread-poolfutures executor as theexecutor::DefaultEnables thread-pool of iced_futures
- tokio
-
Enables
tokioas theexecutor::DefaultEnables tokio of iced_futures
- smol
-
Enables
smolas theexecutor::DefaultEnables smol of iced_futures
- sysinfo
-
Enables querying system information
Enables sysinfo ^0.38
Affects
iced_baseview::system… - web-colors default
-
Enables broken "sRGB linear" blending to reproduce color management of the Web
Enables web-colors of iced_renderer
- crisp default
-
Enables pixel snapping for crisp edges by default (can cause jitter!)
Enables crisp of iced_core and iced_widget
- highlighter
-
Enables syntax highlighting
Enables iced_highlighter, highlighter of iced_widget
- selector
-
Enables the
widget::selectormoduleEnables selector of iced_runtime
- advanced
-
Enables the advanced module
Enables advanced of iced_core and iced_widget
Affects
iced_baseview::advanced… - fira-sans
-
Embeds Fira Sans into the final application; useful as an easy way to have consistent looks between platforms
Enables fira-sans of iced_renderer
- basic-shaping
-
Enables basic text shaping by default
Enables basic-shaping of iced_core
- advanced-shaping
-
Enables advanced text shaping by default
Enables advanced-shaping of iced_core
- strict-assertions
-
Enables strict assertions for debugging purposes at the expense of performance
Enables strict-assertions of iced_renderer
- unconditional-rendering
-
Redraws on every runtime event, and not only when a widget requests it
- sipper
-
Enables support for the
sipperlibraryEnables sipper of iced_runtime
- x11 default
-
Enables the Unix X11 backend
Enables x11 of iced_renderer and window_clipboard