Cargo Features

[dependencies]
objc2-external-accessory = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "EAAccessory", "EAAccessoryManager", "EASession", "EAWiFiUnconfiguredAccessory", "EAWiFiUnconfiguredAccessoryBrowser", "ExternalAccessoryDefines"] }
default = std

The std feature is set by default whenever objc2-external-accessory 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, and objc2-foundation

alloc std

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

all = EAAccessory, EAAccessoryManager, EASession, EAWiFiUnconfiguredAccessory, EAWiFiUnconfiguredAccessoryBrowser, ExternalAccessoryDefines, bitflags, block2
bitflags EAWiFiUnconfiguredAccessory? all?

Enables bitflags, bitflags of objc2-foundation

block2 all?

Enables block2, block2 of objc2-foundation

Affects EAAccessoryManager::EABluetoothAccessoryPickerCompletion

EAAccessory all?

Enables NSArray and NSString of objc2-foundation

EAAccessoryManager all?

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

EASession all?

Enables NSStream and NSString of objc2-foundation

EAWiFiUnconfiguredAccessory all? = bitflags

Enables NSString of objc2-foundation

EAWiFiUnconfiguredAccessoryBrowser all?

Enables NSPredicate and NSSet of objc2-foundation

ExternalAccessoryDefines all?