Cargo Features
[dependencies]
objc2-push-kit = { version = "0.3.1", default-features = false, features = ["std", "alloc", "block2", "dispatch2", "PKDefines", "PKPushCredentials", "PKPushPayload", "PKPushRegistry"] }
- default = PKDefines, PKPushCredentials, PKPushPayload, PKPushRegistry, block2, dispatch2, std
-
These default features are set whenever
objc2-push-kit
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- block2 default
-
Enables block2
- dispatch2 default
-
Enables dispatch2
- PKDefines default
-
Enables NSString of objc2-foundation
Affects
PKPushRegistry::PKPushTypeVoIP
,PKPushRegistry::PKPushTypeComplication
,PKPushRegistry::PKPushTypeFileProvider
… - PKPushCredentials default
-
Enables NSData and NSString of objc2-foundation
- PKPushPayload default
-
Enables NSDictionary and NSString of objc2-foundation
- PKPushRegistry default
-
Enables NSData, NSSet and NSString of objc2-foundation