Cargo Features

[dependencies]
objc2-extension-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "objc2-app-kit", "EXAppExtensionBrowserViewController", "EXHostViewController"] }
default = std

The std feature is set by default whenever objc2-extension-kit 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 objc2, optional objc2-app-kit, and objc2-foundation

alloc std

Enables alloc of objc2, optional objc2-app-kit, and objc2-foundation

all = EXAppExtensionBrowserViewController, EXHostViewController, objc2-app-kit
objc2-app-kit all?

Enables objc2-app-kit

EXAppExtensionBrowserViewController all?

Enables NSBundle, NSCoder, NSObject and NSString of objc2-foundation, NSKeyValueBinding, NSNib, NSResponder, NSStoryboardSegue, NSUserInterfaceItemIdentification and NSViewController of optional objc2-app-kit

EXHostViewController all?

Enables NSBundle, NSCoder, NSError, NSObject, NSString and NSXPCConnection of objc2-foundation, NSKeyValueBinding, NSNib, NSResponder, NSStoryboardSegue, NSUserInterfaceItemIdentification, NSView and NSViewController of optional objc2-app-kit