Cargo Features

[dependencies]
security-framework = { version = "3.7.0", default-features = false, features = ["session-tickets", "job-bless", "sync-keychain", "OSX_10_12", "OSX_10_13", "OSX_10_14", "OSX_10_15", "macos-12", "nightly", "log"] }
default = OSX_10_14, alpn, session-tickets

These default features are set whenever security-framework is added without default-features = false somewhere in the dependency tree.

alpn session-tickets default

Always enabled

job-bless
sync-keychain = OSX_10_13

Enables GenerateKeyOptions::set_synchronizable. Warning: not backwards-compatible!

OSX_10_12

Always enabled

OSX_10_13 sync-keychain?

Always enabled

OSX_10_14 default

Always enabled

OSX_10_15

Enables OSX_10_15 of security-framework-sys

security-framework-sys:

Enable APIs that require macOS 10.15

macos-12

Enable features that require macOS 12

Enables macos-12 of security-framework-sys

nightly

not used, doesn't do anything, only for back compat

Features from optional dependencies

log implicit feature

Enables log

log:

A lightweight logging facade for Rust