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

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