Cargo Features

[dependencies]
piston2d-opengl_graphics = { version = "0.84.0", default-features = false, features = ["webgl", "glow"] }
default = gl

The gl feature is set by default whenever piston2d-opengl_graphics is added without default-features = false somewhere in the dependency tree.

webgl = gl
glow = piston2d-glow_wrap

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.

piston2d-glow_wrap glow?
gl default webgl?

Enables gl ^0.13.0