Cargo Features

[dependencies]
objc2-uniform-type-identifiers = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "NSItemProvider_UTType", "UTAdditions", "UTDefines", "UTTagClass", "UTType"] }
default = std

The std feature is set by default whenever objc2-uniform-type-identifiers 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 = NSItemProvider_UTType, UTAdditions, UTCoreTypes, UTDefines, UTTagClass, UTType, block2
block2 all?

Enables block2, block2 of objc2-foundation

NSItemProvider_UTType all?

Enables NSArray, NSData, NSError, NSItemProvider, NSProgress and NSURL of objc2-foundation

UTAdditions all?

Enables NSString and NSURL of objc2-foundation

UTCoreTypes UTDefines all?
UTTagClass all?

Enables NSString of objc2-foundation

UTType all?

Enables NSArray, NSDictionary, NSObject, NSSet, NSString, NSURL and NSValue of objc2-foundation

Affects UTCoreTypes::UTTypeItem, UTCoreTypes::UTTypeContent, UTCoreTypes::UTTypeCompositeContent, UTCoreTypes::UTTypeDiskImage, UTCoreTypes::UTTypeData, UTCoreTypes::UTTypeDirectory, UTCoreTypes::UTTypeResolvable, UTCoreTypes::UTTypeSymbolicLink, UTCoreTypes::UTTypeExecutable, UTCoreTypes::UTTypeMountPoint, UTCoreTypes::UTTypeAliasFile, UTCoreTypes::UTTypeURLBookmarkData, UTCoreTypes::UTTypeURL, UTCoreTypes::UTTypeFileURL, UTCoreTypes::UTTypeText, UTCoreTypes::UTTypePlainText