Cargo Features
[dependencies]
objc2-osa-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "OSALanguage", "OSALanguageInstance", "OSAScript", "OSAScriptController", "OSAScriptView"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-osa-kit
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Currently not possible to turn off, put here for forwards compatibility.
Enables std of optional bitflags, objc2, objc2-app-kit, and objc2-foundation
- alloc std
-
Enables alloc of objc2, objc2-app-kit, and objc2-foundation
- all = OSALanguage, OSALanguageInstance, OSAScript, OSAScriptController, OSAScriptView, bitflags
- bitflags OSALanguage? OSAScript? all?
-
Enables bitflags, bitflags of objc2-app-kit and objc2-foundation
- OSALanguage all? = bitflags
-
Enables NSAppleEventDescriptor, NSArray and NSString of objc2-foundation
- OSALanguageInstance all?
-
Enables NSAppleEventDescriptor and NSAttributedString of objc2-foundation
- OSAScript all? = bitflags
-
Enables NSAppleEventDescriptor, NSArray, NSAttributedString, NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation
- OSAScriptController all?
-
Enables NSController, NSKeyValueBinding, NSResponder, NSText, NSTextView and NSView of objc2-app-kit, NSCoder and NSObject of objc2-foundation
- OSAScriptView all?
-
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 and NSString of objc2-foundation