Cargo Features

[dependencies]
augmented_iced_baseview = { version = "0.1.0", default-features = false, features = ["wgpu", "glow", "debug", "image", "svg", "canvas", "qr_code", "default_system_font", "palette", "tokio", "async-std", "smol"] }
default = wgpu

The wgpu feature is set by default whenever augmented_iced_baseview is added without default-features = false somewhere in the dependency tree.

wgpu default = iced_wgpu

Enables the iced_wgpu renderer. Cannot be used together with the glow feature.

glow = iced_glow

Enables the iced_glow renderer. Cannot be used together with the wgpu feature.

Enables opengl of augmented_baseview

debug

Enables a debug view in native platforms (press F12)

Enables debug of iced_native ^0.9

image

Enables the Image widget

Enables image of optional iced_glow ^0.7 and optional iced_wgpu ^0.9

Affects widget::image

svg

Enables the Svg widget

Enables svg of optional iced_glow ^0.7 and optional iced_wgpu ^0.9

Affects widget::svg

canvas

Enables the Canvas widget

Enables canvas of optional iced_glow ^0.7 and optional iced_wgpu ^0.9

qr_code

Enables the QRCode widget

Enables qr_code of optional iced_glow ^0.7 and optional iced_wgpu ^0.9

default_system_font

Enables using system fonts

Enables default_system_font of optional iced_glow ^0.7 and optional iced_wgpu ^0.9

palette

Enables advanced color conversion via palette

Enables palette of iced_core ^0.8

tokio

Enables tokio as the executor::Default on native platforms

Enables tokio of iced_futures ^0.6

async-std

Enables async-std as the executor::Default on native platforms

Enables async-std of iced_futures ^0.6

smol

Enables smol as the executor::Default on native platforms

Enables smol of iced_futures ^0.6

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.

iced_glow glow?

Enables iced_glow ^0.7

iced_wgpu wgpu

Enables iced_wgpu ^0.9