Cargo Features
[dependencies]
shiny-pancake = { version = "1.0.0", default-features = false, features = ["sdl2-backend", "glutin-backend"] }
- default = glutin-backend
-
The
glutin-backend
feature is set by default whenevershiny-pancake
is added without
somewhere in the dependency tree.default-features = false - sdl2-backend = pistoncore-sdl2_window
-
Affects
renderer::create_window
… - glutin-backend default = pistoncore-glutin_window
-
Affects
renderer::create_window
…
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.