Cargo Features
[dependencies]
core-video-sys = { version = "0.1.4", default-features = false, features = ["all", "display_link", "io_suface", "opengl", "metal"] }
- default = display_link, metal
-
These default features are set whenever
core-video-sys
is added without
somewhere in the dependency tree.default-features = false - all = direct3d, display_link, io_suface, opengl
- display_link default all? = core-graphics, opengl
- direct3d io_suface all?
- opengl all? display_link
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.
- core-graphics display_link
-
Enables core-graphics ^0.19
- metal default
-
Enables metal ^0.18