Cargo Features

[dependencies]
objc2-input-method-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "objc2-app-kit", "IMKCandidates", "IMKInputController", "IMKServer"] }
default = std

The std feature is set by default whenever objc2-input-method-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 = IMKCandidates, IMKInputController, IMKServer, objc2-app-kit
objc2-app-kit all?

Enables objc2-app-kit

IMKCandidates all?

Enables NSArray, NSAttributedString, NSCoder, NSDictionary, NSGeometry and NSObject of objc2-foundation, NSResponder of optional objc2-app-kit

Affects objc2-input-method-kit::IMKCandidatesOpacityAttributeName, objc2-input-method-kit::IMKCandidatesSendServerKeyEventFirst

IMKInputController all?

Enables NSArray, NSAttributedString, NSDictionary, NSGeometry, NSRange and NSString of objc2-foundation, NSEvent and NSMenu of optional objc2-app-kit

Affects objc2-input-method-kit::kIMKCommandMenuItemName, objc2-input-method-kit::kIMKCommandClientName

IMKServer all?

Enables NSBundle and NSString of objc2-foundation

Affects objc2-input-method-kit::IMKModeDictionary, objc2-input-method-kit::IMKControllerClass, objc2-input-method-kit::IMKDelegateClass