Cargo Features
[dependencies]
core-video = { version = "0.4.3", default-features = false, features = ["display-link", "link", "objc", "metal"] }
- default = display-link, link
-
These default features are set whenever
core-video
is added without
somewhere in the dependency tree.default-features = false - display-link default
-
Affects
core-video::display_link
… - link default
-
Enables link of core-foundation and core-graphics2
core-foundation:
Disable to manually link. Enabled by default.
- objc = objc2
-
Affects
opengl_es_texture_cache::CVEAGLContext
…
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.
- metal implicit feature
-
Enables metal ^0.29
metal:
Rust bindings for Metal
Affects
core-video::metal_texture
,core-video::metal_texture_cache
… - objc2 objc?