Cargo Features
[dependencies]
objc2-accounts = { version = "0.3.0", default-features = false, features = ["std", "alloc", "block2", "ACAccount", "ACAccountCredential", "ACAccountStore", "ACError", "AccountsDefines"] }
- default = ACAccount, ACAccountCredential, ACAccountStore, ACAccountType, ACError, AccountsDefines, block2, std
-
These default features are set whenever
objc2-accounts
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- block2 default
-
Enables block2
Affects
ACAccountStore::ACAccountStoreSaveCompletionHandler
,ACAccountStore::ACAccountStoreRemoveCompletionHandler
,ACAccountStore::ACAccountStoreRequestAccessCompletionHandler
,ACAccountStore::ACAccountStoreCredentialRenewalHandler
… - ACAccount default
-
Enables NSString of objc2-foundation
- ACAccountCredential default
-
Enables NSDate and NSString of objc2-foundation
- ACAccountStore default
-
Enables NSArray, NSDictionary, NSError and NSString of objc2-foundation
- ACAccountType ACError default
-
Enables NSString of objc2-foundation
- AccountsDefines default