Cargo Features
[dependencies]
core-video = { version = "0.3.1", default-features = false, features = ["display-link", "metal-texture", "link", "objc"] }
- default = display-link, link, metal-texture
-
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
… - metal-texture default = foreign-types, metal
- 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.
- foreign-types metal-texture
- metal metal-texture
-
Affects
core-video::metal_texture
,core-video::metal_texture_cache
… - objc2 objc?