Thanks to visit codestin.com
Credit goes to lib.rs

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_baseview is added without default-features = false somewhere in the dependency tree.

nice-log

Enables logging using nice-plug's logging feature

Enables nice-plug-core

tracing default

Enable this if nice-log is disabled

Enables 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 wgpu GPU-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 wgpu GPU-accelerated renderer with the minimum required features (no backends!)

Enables wgpu-bare of iced_renderer

tiny-skia default

Enables the tiny-skia software renderer

Enables tiny-skia of iced_renderer

image = image-without-codecs

Enables the image widget

Enables image

Affects iced_baseview::widget.image

image-without-codecs image?

Enables the image widget, without any built-in codecs of the image crate

Enables image, image of iced_widget

svg

Enables the svg widget

Enables svg of iced_widget

canvas

Enables the canvas widget

Enables canvas of iced_widget

qr_code

Enables the qr_code widget

Enables qr_code of iced_widget

markdown

Enables the markdown widget

Enables 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-pool futures executor as the executor::Default

Enables thread-pool of iced_futures

tokio

Enables tokio as the executor::Default

Enables tokio of iced_futures

smol

Enables smol as the executor::Default

Enables 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::selector module

Enables 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 sipper library

Enables sipper of iced_runtime

x11 default

Enables the Unix X11 backend

Enables x11 of iced_renderer and window_clipboard