Cargo Features

[dependencies]
sf2g = { version = "0.1.0", default-features = false, features = ["window", "graphics", "serde", "ci-headless"] }
default = graphics

The graphics feature is set by default whenever sf2g is added without default-features = false somewhere in the dependency tree.

window graphics

Enables bitflags

Affects sf2g::window

graphics default = window

Affects sf2g::graphics

serde

Enables serde

ci-headless

Used to skip running certain tests on CI, since it's running in a headless environment.