Cargo Features
[dependencies]
piston2d-opengl_graphics = { version = "0.86.0", default-features = false, features = ["webgl", "glow"] }
- default = gl
-
The
gl
feature is set by default wheneverpiston2d-opengl_graphics
is added without
somewhere in the dependency tree.default-features = false - 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?