Cargo Features
[dependencies]
fframes_skia_renderer = { version = "1.0.0-beta.7.rc-03", default-features = false, features = ["binary-cache", "gpu", "metal", "vulkan", "d3d", "gl", "x11", "wayland", "egl", "debug"] }
- default = binary-cache, gpu
-
These default features are set whenever
fframes_skia_renderer
is added without
somewhere in the dependency tree.default-features = false - binary-cache default
-
Enables binary-cache of fframes-skia-safe
- gpu default
-
Enables gpu of fframes-skia-safe
fframes-skia-safe:
implied only, do not use
- metal = metal-rs
-
Enables metal of fframes-skia-safe
Affects
gpu_backends::metal
… - vulkan = ash
-
Enables vulkan of fframes-skia-safe
Affects
gpu_backends::vulkan
… - d3d
-
Enables d3d of fframes-skia-safe
- gl
-
Enables gl of fframes-skia-safe
- x11
-
Enables x11 of fframes-skia-safe
- wayland
-
Enables wayland of fframes-skia-safe
- egl
-
Enables egl of fframes-skia-safe
- debug
-
activate this feature to measure perforamnce and debug skia
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.
- ash vulkan?
- metal-rs metal?
-
Enables metal ^0.30.0