Cargo Features
[dependencies]
sfml = { version = "0.24.0", default-features = false, features = ["window", "graphics", "audio", "serde", "ci-headless"] }
- default = audio, graphics
-
These default features are set whenever
sfml
is added without
somewhere in the dependency tree.default-features = false - window graphics
-
Enables bitflags
Affects
sfml::window
… - graphics default = window
-
Affects
sfml::graphics
… - audio default
-
Enables libflac-sys
Affects
sfml::audio
… - serde
-
Enables serde
- ci-headless
-
Used to skip running certain tests on CI, since it's running in a headless environment.