Cargo Features

Skulpin has no features set by default.

[dependencies]
skulpin = { version = "0.14.1", features = ["skia-shaper", "skia-svg", "skia-textlayout", "skia-complete", "winit-app", "winit-21", "winit-22", "winit-23", "winit-24", "winit-25", "winit-latest"] }

NOTE: See README.md for implications on how feature selection will affect build-time. As of this writing, binary builds of skia are available for ALL of the features or NONE of the features. Only selecting some of the features will require building skia from scratch, which will greatly increase build times

skia-shaper

svg and shaper are deprecated. svg is always available, and shaper is included with textlayout. However, leaving them since skia_safe prints informative error messages.

Enables shaper of skulpin-renderer

skia-svg

Enables svg of skulpin-renderer

skia-textlayout

Enables textlayout of skulpin-renderer

skia-complete

Enables complete of skulpin-renderer

winit-app = skulpin-app-winit
winit-21

Enables winit-21 of skulpin-app-winit

winit-22

Enables winit-22 of skulpin-app-winit

winit-23

Enables winit-23 of skulpin-app-winit

winit-24

Enables winit-24 of skulpin-app-winit

winit-25

Enables winit-25 of skulpin-app-winit

winit-latest

Enables winit-latest of skulpin-app-winit

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.

skulpin-app-winit winit-21? winit-22? winit-23? winit-24? winit-25? winit-app? winit-latest?