Cargo Features

[dependencies]
objc2-user-notifications = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "objc2-core-location", "NSString_UserNotifications", "UNError", "UNNotification", "UNNotificationAction", "UNNotificationActionIcon", "UNNotificationAttachment", "UNNotificationCategory", "UNNotificationContent", "UNNotificationResponse", "UNNotificationServiceExtension", "UNNotificationSettings", "UNNotificationSound", "UNNotificationTrigger", "UNUserNotificationCenter"] }
default = std

The std feature is set by default whenever objc2-user-notifications is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of optional bitflags, optional block2, objc2, optional objc2-core-location, and objc2-foundation

alloc std

Enables alloc of optional block2, objc2, optional objc2-core-location, and objc2-foundation

all = NSString_UserNotifications, UNError, UNNotification, UNNotificationAction, UNNotificationActionIcon, UNNotificationAttachment, UNNotificationCategory, UNNotificationContent, UNNotificationRequest, UNNotificationResponse, UNNotificationServiceExtension, UNNotificationSettings, UNNotificationSound, UNNotificationTrigger, UNUserNotificationCenter, bitflags, block2, objc2-core-location
bitflags UNNotificationAction? UNNotificationCategory? UNUserNotificationCenter? all?

Enables bitflags, bitflags of objc2-foundation

block2 all?

Enables block2, block2 of objc2-foundation and optional objc2-core-location

objc2-core-location all?

Enables objc2-core-location

NSString_UserNotifications all?

Enables NSArray and NSString of objc2-foundation

UNError all?

Enables NSString of objc2-foundation

UNNotification all?

Enables NSDate and NSObject of objc2-foundation

UNNotificationAction all? = bitflags

Enables NSObject and NSString of objc2-foundation

UNNotificationActionIcon all?

Enables NSObject and NSString of objc2-foundation

UNNotificationAttachment all?

Enables NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation

UNNotificationCategory all? = bitflags

Enables NSArray, NSObject and NSString of objc2-foundation

UNNotificationContent all?

Enables NSArray, NSDictionary, NSError, NSObject, NSString and NSValue of objc2-foundation

UNNotificationRequest UNNotificationResponse all?

Enables NSObject and NSString of objc2-foundation

UNNotificationServiceExtension all?
UNNotificationSettings all?

Enables NSObject of objc2-foundation

UNNotificationSound all?

Enables NSObject and NSString of objc2-foundation

UNNotificationTrigger all?

Enables NSCalendar, NSDate and NSObject of objc2-foundation, CLRegion of optional objc2-core-location

UNUserNotificationCenter all? = bitflags

Enables NSArray, NSError, NSSet and NSString of objc2-foundation