Cargo Features

[dependencies]
objc2-class-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "CLSActivity", "CLSBinaryItem", "CLSContext", "CLSContextProvider", "CLSDataStore", "CLSDefines", "CLSObject", "CLSQuantityItem", "CLSScoreItem", "NSUserActivity_CLSDeepLinks"] }
default = std

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

alloc std

Enables alloc of optional block2, objc2, and objc2-foundation

all = CLSActivity, CLSActivityItem, CLSBinaryItem, CLSContext, CLSContextProvider, CLSDataStore, CLSDefines, CLSObject, CLSProgressReportingCapability, CLSQuantityItem, CLSScoreItem, NSUserActivity_CLSDeepLinks, block2
block2 all?

Enables block2, block2 of objc2-foundation

CLSActivity all?

Enables NSArray, NSDate and NSObject of objc2-foundation

CLSActivityItem CLSBinaryItem all?

Enables NSObject and NSString of objc2-foundation

CLSContext all?

Enables NSArray, NSError, NSObject, NSRange, NSSet, NSString and NSURL of objc2-foundation

CLSContextProvider all?

Enables NSError of objc2-foundation

CLSDataStore all?

Enables NSArray, NSError, NSPredicate, NSString and NSURL of objc2-foundation

CLSDefines all?

Enables NSString of objc2-foundation

CLSObject all?

Enables NSDate and NSObject of objc2-foundation

CLSProgressReportingCapability CLSQuantityItem all?

Enables NSObject and NSString of objc2-foundation

CLSScoreItem all?

Enables NSObject and NSString of objc2-foundation

Enables NSArray, NSString and NSUserActivity of objc2-foundation