Cargo Features
[dependencies]
leafrender = { version = "0.1.0", default-features = false, features = ["raspberry_pi", "desktop_gl"] }
- default = desktop_gl
-
The
desktop_gl
feature is set by default wheneverleafrender
is added without
somewhere in the dependency tree.default-features = false - raspberry_pi = egl, evdev, opengles, videocore
-
Affects
render::pi
… - desktop_gl default = gl, glutin
-
Affects
render::glutin
…
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.
- egl raspberry_pi?
-
Enables egl
Raspberry Pi
- opengles raspberry_pi?
- videocore raspberry_pi?
- evdev raspberry_pi?
-
Enables evdev ^0.10.1
- glutin desktop_gl
-
Enables glutin ^0.21.0
Glutin
- gl desktop_gl
-
Enables gl ^0.12.0