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 wheneversf2g
is added without
somewhere in the dependency tree.default-features = false - 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.