Cargo Features

[dependencies]
security-framework-sys = { version = "2.13.0", 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, item::kSecKeyKeyExchangeParameterRequestedSize, item::kSecKeyKeyExchangeParameterSharedInfo, 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::SecKeyCreateEncryptedData

OSX_10_13 OSX_10_14? = OSX_10_12

Affects certificate::SecCertificateCopySerialNumberData, key::SecKeyCreateWithData, 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