Cargo Features

[dependencies]
ferrishot_iced = { version = "0.14.1", default-features = false, features = ["wgpu", "tiny-skia", "image", "image-without-codecs", "svg", "canvas", "qr_code", "markdown", "lazy", "debug", "thread-pool", "tokio", "smol", "system", "web-colors", "webgl", "highlighter", "advanced", "fira-sans", "auto-detect-theme", "strict-assertions", "unconditional-rendering", "sipper"] }
default = auto-detect-theme, thread-pool, tiny-skia, web-colors, wgpu

These default features are set whenever ferrishot_iced is added without default-features = false somewhere in the dependency tree.

wgpu default

Enables the wgpu GPU-accelerated renderer backend

Enables wgpu of ferrishot_iced_renderer and ferrishot_iced_widget

tiny-skia default

Enables the tiny-skia software renderer backend

Enables tiny-skia of ferrishot_iced_renderer

image = image-without-codecs

Enables the image widget

Enables image

Affects icon::from_file, icon::from_file_data

image-without-codecs image?

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

Enables image, image of ferrishot_iced_widget

svg

Enables the svg widget

Enables svg of ferrishot_iced_widget

canvas

Enables the canvas widget

Enables canvas of ferrishot_iced_widget

qr_code

Enables the qr_code widget

Enables qr_code of ferrishot_iced_widget

markdown

Enables the markdown widget

Enables markdown of ferrishot_iced_widget

lazy

Enables lazy widgets

Enables lazy of ferrishot_iced_widget

debug = ferrishot_iced_devtools

Enables a debug view in native platforms (press F12)

Enables debug of ferrishot_iced_winit

thread-pool default

Enables the thread-pool futures executor as the executor::Default on native platforms

Enables thread-pool of ferrishot_iced_futures

tokio

Enables tokio as the executor::Default on native platforms

Enables tokio of ferrishot_iced_futures

smol

Enables smol as the executor::Default on native platforms

Enables smol of ferrishot_iced_futures

system

Enables querying system information

Enables system of ferrishot_iced_winit

Affects ferrishot_iced::system

web-colors default

Enables broken "sRGB linear" blending to reproduce color management of the Web

Enables web-colors of ferrishot_iced_renderer

webgl

Enables the WebGL backend

Enables webgl of ferrishot_iced_renderer

highlighter = ferrishot_iced_highlighter

Enables syntax highligthing

Enables highlighter of ferrishot_iced_widget

advanced

Enables the advanced module

Enables advanced of ferrishot_iced_core and ferrishot_iced_widget

Affects ferrishot_iced::advanced

fira-sans

Embeds Fira Sans into the final application; useful for testing and Wasm builds

Enables fira-sans of ferrishot_iced_renderer

auto-detect-theme default

Auto-detects light/dark mode for the built-in theme

Enables auto-detect-theme of ferrishot_iced_core

strict-assertions

Enables strict assertions for debugging purposes at the expense of performance

Enables strict-assertions of ferrishot_iced_renderer

unconditional-rendering

Redraws on every runtime event, and not only when a widget requests it

Enables unconditional-rendering of ferrishot_iced_winit

sipper

Enables support for the sipper library

Enables sipper of ferrishot_iced_runtime

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.

ferrishot_iced_devtools debug?
ferrishot_iced_highlighter highlighter?