Cargo Features
[dependencies]
objc2-osa-kit = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "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.
- alloc std
- unstable-docsrs
-
For better documentation on docs.rs
- all = OSALanguage, OSALanguageInstance, OSAScript, OSAScriptController, OSAScriptView
- OSALanguage all?
-
Enables NSAppleEventDescriptor, NSArray and NSString of objc2-foundation
- OSALanguageInstance all?
-
Enables NSAppleEventDescriptor and NSAttributedString of objc2-foundation
- OSAScript all?
-
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