Cargo Features

[dependencies]
objc2-extension-kit = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "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

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

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