Cargo Features

[dependencies]
sixtyfps-rendering-backend-gl = { version = "0.1.6", default-features = false, features = ["x11", "wayland", "svg"] }

Note, these features need to be kept in sync (along with their defaults) in the C++ crate's CMakeLists.txt

default = svg

The svg feature is set by default whenever sixtyfps-rendering-backend-gl is added without default-features = false somewhere in the dependency tree.

x11

Enables x11 of copypasta ^0.7.0, glutin ^0.28, and winit ^0.26

wayland

Enables wayland of copypasta ^0.7.0, glutin ^0.28, and winit ^0.26

svg default = resvg, tiny-skia, usvg

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.

resvg svg

Enables resvg ^0.20

usvg svg

Enables usvg ^0.20

tiny-skia svg

Enables tiny-skia ^0.6