Cargo Features

[dependencies]
apple-security-sys = { version = "2.9.4", 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_9

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

OSX_10_9 default OSX_10_10?

Affects item::kSecAttrKeyTypeEC, policy::SecPolicyCreateRevocation, secure_transport::kSSLSessionOptionFalseStart, secure_transport::kSSLSessionOptionSendOneByteRecord, trust::SecTrustGetNetworkFetchAllowed, trust::SecTrustSetNetworkFetchAllowed, trust::SecTrustSetOCSPResponse

OSX_10_10 OSX_10_11? = OSX_10_9

Affects secure_transport::kSSLSessionOptionFallback

OSX_10_11 OSX_10_12? = OSX_10_10

Affects secure_transport::kSSLSessionOptionAllowServerIdentityChange, secure_transport::kSSLSessionOptionBreakOnClientHello

OSX_10_12 OSX_10_13? = OSX_10_11

Affects certificate::SecCertificateCopyNormalizedIssuerSequence, certificate::SecCertificateCopyNormalizedSubjectSequence, item::kSecAttrTokenID, item::kSecAttrTokenIDSecureEnclave, key::SecKeyAlgorithm, key::SecKeyCreateRandomKey, key::SecKeyCopyExternalRepresentation, key::SecKeyCopyAttributes, key::SecKeyCopyPublicKey, key::SecKeyCreateSignature, key::SecKeyVerifySignature

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