Cargo Features
[dependencies]
core-media = { version = "0.5.1", default-features = false, features = ["link", "objc"] }
- default = link
-
The
link
feature is set by default whenevercore-media
is added without
somewhere in the dependency tree.default-features = false - link default
-
Enables link of core-foundation, core-graphics2, and core-video
core-foundation:
Disable to manually link. Enabled by default.
- objc = objc2
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.