Cargo Features

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

These default features are set whenever objc2-input-method-kit is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
objc2-app-kit default

Enables objc2-app-kit

IMKCandidates default

Enables NSArray, NSAttributedString, NSCoder, NSDictionary, NSGeometry, NSObject and objc2-core-foundation of objc2-foundation

IMKInputController default

Enables NSArray, NSAttributedString, NSDictionary, NSGeometry, NSRange, NSString and objc2-core-foundation of objc2-foundation

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

IMKServer default

Enables NSBundle and NSString of objc2-foundation

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