Cargo Features

[dependencies]
objc2-core-image = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "apple", "gnustep-1-7", "gnustep-1-8", "gnustep-1-9", "gnustep-2-0", "gnustep-2-1", "block2", "objc2-metal", "CIBarcodeDescriptor", "CIColor", "CIContext", "CIDetector", "CIFeature", "CIFilter", "CIFilterConstructor", "CIFilterGenerator", "CIFilterShape", "CIImage", "CIImageAccumulator", "CIImageProcessor", "CIImageProvider", "CIKernel", "CIKernelMetalLib", "CIPlugIn", "CIPlugInInterface", "CIRAWFilter", "CIRAWFilter_Deprecated", "CIRenderDestination", "CISampler", "CIVector", "CoreImageDefines"] }
default = std

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

alloc std

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

all = CIBarcodeDescriptor, CIColor, CIContext, CIDetector, CIFeature, CIFilter, CIFilterConstructor, CIFilterGenerator, CIFilterShape, CIImage, CIImageAccumulator, CIImageProcessor, CIImageProvider, CIKernel, CIKernelMetalLib, CIPlugIn, CIPlugInInterface, CIRAWFilter, CIRAWFilter_Deprecated, CIRenderDestination, CISampler, CIVector, CoreImageDefines, block2, objc2-metal
apple
gnustep-1-7 gnustep-1-8?

Enables gnustep-1-7 of optional block2, objc2, and objc2-foundation

block2:

Link to GNUStep's libobjc2 (which contains the block implementation).

gnustep-1-8 gnustep-1-9? = gnustep-1-7

Enables gnustep-1-8 of optional block2, objc2, and objc2-foundation

gnustep-1-9 gnustep-2-0? = gnustep-1-8

Enables gnustep-1-9 of optional block2, objc2, and objc2-foundation

gnustep-2-0 gnustep-2-1? = gnustep-1-9

Enables gnustep-2-0 of optional block2, objc2, and objc2-foundation

gnustep-2-1 = gnustep-2-0

Enables gnustep-2-1 of optional block2, objc2, and objc2-foundation

block2 all?

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

Affects CIKernel::CIKernelROICallback

objc2-metal all?

Enables objc2-metal

CIBarcodeDescriptor all?

Enables NSData, NSObject and NSUserActivity of objc2-foundation

CIColor all?

Enables NSGeometry, NSObject and NSString of objc2-foundation

CIContext all?

Enables NSData, NSDictionary, NSError, NSGeometry, NSString and NSURL of objc2-foundation, MTLCommandQueue and MTLDevice of optional objc2-metal

CIDetector all?

Enables NSArray, NSDictionary and NSString of objc2-foundation

CIFeature all?

Enables NSArray, NSGeometry, NSObject and NSString of objc2-foundation

CIFilter all?

Enables NSArray, NSData, NSDictionary, NSGeometry, NSObject, NSString and NSURL of objc2-foundation

CIFilterConstructor all?

Enables NSString of objc2-foundation

CIFilterGenerator all?

Enables NSDictionary, NSObject, NSString and NSURL of objc2-foundation

CIFilterShape all?

Enables NSGeometry and NSObject of objc2-foundation

CIImage all?

Enables NSArray, NSData, NSDictionary, NSGeometry, NSObject, NSString and NSURL of objc2-foundation, MTLResource and MTLTexture of optional objc2-metal

Affects CIImageProvider::kCIImageProviderTileSize, CIImageProvider::kCIImageProviderUserInfo

CIImageAccumulator all?

Enables NSGeometry of objc2-foundation

CIImageProcessor all?

Enables NSArray, NSDictionary, NSError, NSGeometry and NSString of objc2-foundation, MTLCommandBuffer, MTLResource and MTLTexture of optional objc2-metal

CIImageProvider all?

Enables NSString of objc2-foundation

CIKernel all?

Enables NSArray, NSData, NSError, NSGeometry and NSString of objc2-foundation

CIKernelMetalLib all?
CIPlugIn all?

Enables NSURL of objc2-foundation

CIPlugInInterface all?
CIRAWFilter all?

Enables NSArray, NSData, NSDictionary, NSGeometry, NSObject, NSString and NSURL of objc2-foundation

CIRAWFilter_Deprecated all?

Enables NSArray, NSData, NSDictionary, NSString and NSURL of objc2-foundation

CIRenderDestination all?

Enables NSDate, NSError and NSGeometry of objc2-foundation, MTLCommandBuffer, MTLPixelFormat, MTLResource and MTLTexture of optional objc2-metal

CISampler all?

Enables NSDictionary, NSGeometry, NSObject and NSString of objc2-foundation

CIVector all?

Enables NSGeometry, NSObject and NSString of objc2-foundation

CoreImageDefines all?