Cargo Features

[dependencies]
security-framework-sys = { version = "2.12.1", default-features = false, features = ["OSX_10_9", "OSX_10_10", "OSX_10_11", "OSX_10_12", "OSX_10_13", "OSX_10_14", "OSX_10_15"] }
default = OSX_10_12

The OSX_10_12 feature is set by default whenever security-framework-sys is added without default-features = false somewhere in the dependency tree.

OSX_10_9 OSX_10_10?

Always enabled. No-op.

OSX_10_10 OSX_10_11? = OSX_10_9

Always enabled. No-op.

OSX_10_11 OSX_10_12 = OSX_10_10
OSX_10_12 default OSX_10_13? = OSX_10_11

Affects certificate::SecCertificateCopyNormalizedIssuerSequence, certificate::SecCertificateCopyNormalizedSubjectSequence, item::kSecAttrTokenID, item::kSecAttrTokenIDSecureEnclave, key::SecKeyAlgorithm, key::SecKeyOperationType, key::kSecKeyOperationTypeSign, key::kSecKeyOperationTypeVerify, key::kSecKeyOperationTypeEncrypt, key::kSecKeyOperationTypeDecrypt, key::kSecKeyOperationTypeKeyExchange, key::SecKeyCreateRandomKey, key::SecKeyCopyExternalRepresentation, key::SecKeyCopyAttributes, key::SecKeyCopyPublicKey, key::SecKeyCreateSignature, key::SecKeyVerifySignature, key::SecKeyIsAlgorithmSupported

OSX_10_13 OSX_10_14? = OSX_10_12

Affects certificate::SecCertificateCopySerialNumberData, secure_transport::SSLSetALPNProtocols, secure_transport::SSLCopyALPNProtocols, secure_transport::SSLSetSessionTicketsEnabled, trust::SecTrustEvaluateWithError

OSX_10_14 OSX_10_15? = OSX_10_13

Affects certificate::SecCertificateCopyKey, trust::SecTrustSetSignedCertificateTimestamps

OSX_10_15 = OSX_10_14

Affects item::kSecUseDataProtectionKeychain