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

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.

pistoncore-glutin_window glutin-backend

Enables pistoncore-glutin_window ^0.33.0

pistoncore-sdl2_window sdl2-backend?

Enables pistoncore-sdl2_window ^0.37.0