Cargo Features

[dependencies]
micro-gui = { version = "0.1.0", default-features = false, features = ["sdl"] }
default = sdl

The sdl feature is set by default whenever micro-gui is added without default-features = false somewhere in the dependency tree.

sdl default = sdl2

Affects micro-gui::native

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.

sdl2 sdl

Enables sdl2 ^0.30

Required by the micro-gui-example binary