Cargo Features

[dependencies]
objc2-osa-kit = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "OSALanguage", "OSALanguageInstance", "OSAScript", "OSAScriptController", "OSAScriptView"] }
default = OSALanguage, OSALanguageInstance, OSAScript, OSAScriptController, OSAScriptView, bitflags, std

These default features are set whenever objc2-osa-kit is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
bitflags default OSALanguage OSAScript

Enables bitflags

OSALanguage default = bitflags

Enables NSAppleEventDescriptor, NSArray and NSString of objc2-foundation

OSALanguageInstance default

Enables NSAppleEventDescriptor and NSAttributedString of objc2-foundation

OSAScript default = bitflags

Enables NSAppleEventDescriptor, NSArray, NSAttributedString, NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation

OSAScriptController default

Enables NSController, NSKeyValueBinding, NSResponder, NSText, NSTextView and NSView of objc2-app-kit, NSCoder and NSObject of objc2-foundation

OSAScriptView default

Enables NSAccessibilityProtocols, NSAnimation, NSAppearance, NSColorPanel, NSDragging, NSInputManager, NSLayoutManager, NSMenu, NSResponder, NSSpellProtocol, NSText, NSTextContainer, NSTextContent, NSTextInputClient, NSTextView, NSUserInterfaceItemIdentification, NSUserInterfaceValidation and NSView of objc2-app-kit, NSCoder, NSGeometry, NSObject, NSString and objc2-core-foundation of objc2-foundation

objc2-osa-kit has 9 features without comments.