Cargo Features

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

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

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

Enables block2

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