Cargo Features

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

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

all = NSItemProvider_UTType, UTAdditions, UTCoreTypes, UTDefines, UTTagClass, UTType, block2
block2 all?

Enables block2

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