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
somewhere in the dependency tree.default-features = false - wgpu default
-
Enables the
wgpu
GPU-accelerated renderer backendEnables wgpu of ferrishot_iced_renderer and ferrishot_iced_widget
- tiny-skia default
-
Enables the
tiny-skia
software renderer backendEnables tiny-skia of ferrishot_iced_renderer
- image = image-without-codecs
-
Enables the
image
widgetEnables image
Affects
icon::from_file
,icon::from_file_data
… - image-without-codecs image?
-
Enables the
image
widget, without any built-in codecs of theimage
crateEnables image, image of ferrishot_iced_widget
- svg
-
Enables the
svg
widgetEnables svg of ferrishot_iced_widget
- canvas
-
Enables the
canvas
widgetEnables canvas of ferrishot_iced_widget
- qr_code
-
Enables the
qr_code
widgetEnables qr_code of ferrishot_iced_widget
- markdown
-
Enables the
markdown
widgetEnables 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 theexecutor::Default
on native platformsEnables thread-pool of ferrishot_iced_futures
- tokio
-
Enables
tokio
as theexecutor::Default
on native platformsEnables tokio of ferrishot_iced_futures
- smol
-
Enables
smol
as theexecutor::Default
on native platformsEnables 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
libraryEnables 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.