Cargo Features

objc2-accessibility = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "AXAudiograph", "AXBrailleMap", "AXColorUtilities", "AXCustomContent", "AXFoundation", "AXHearingUtilities", "AXSettings"] }
default = std

The std feature is set by default whenever objc2-accessibility 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 = AXAudiograph, AXBrailleMap, AXColorUtilities, AXCustomContent, AXFoundation, AXHearingUtilities, AXSettings, bitflags, block2
bitflags AXHearingUtilities? all?

Enables bitflags, bitflags of objc2-foundation

block2 all?

Enables block2, block2 of objc2-foundation

Affects AXCustomContent::AXCustomContentReturnBlock

AXAudiograph all?

Enables NSArray, NSAttributedString, NSGeometry, NSObject, NSString and NSValue of objc2-foundation

AXBrailleMap all?

Enables NSGeometry and NSObject of objc2-foundation

AXColorUtilities all?
AXCustomContent all?

Enables NSArray, NSAttributedString, NSObject and NSString of objc2-foundation

AXFoundation all?
AXHearingUtilities all? = bitflags

Enables NSArray, NSNotification, NSString and NSUUID of objc2-foundation

AXSettings all?

Enables NSNotification and NSString of objc2-foundation