Cargo Features
[dependencies]
core-foundation = { version = "0.10.0", default-features = false, features = ["mac_os_10_7_support", "mac_os_10_8_features", "with-uuid", "link"] }
- default = link
-
The
link
feature is set by default whenevercore-foundation
is added without
somewhere in the dependency tree.default-features = false - mac_os_10_7_support
-
backwards compatibility
Enables mac_os_10_7_support of core-foundation-sys
- mac_os_10_8_features
-
enables new features
Enables mac_os_10_8_features of core-foundation-sys
- with-uuid = uuid
- link default
-
Disable to manually link. Enabled by default.
Enables link of core-foundation-sys
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.