Cargo Features
[dependencies]
objc2-photos = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "objc2-app-kit", "objc2-core-image", "objc2-core-location", "objc2-uniform-type-identifiers", "PHAdjustmentData", "PHAsset", "PHAssetChangeRequest", "PHAssetCollectionChangeRequest", "PHAssetCreationRequest", "PHAssetResource", "PHAssetResourceManager", "PHChange", "PHChangeRequest", "PHCloudIdentifier", "PHCollection", "PHCollectionListChangeRequest", "PHContentEditingInput", "PHContentEditingOutput", "PHError", "PHFetchOptions", "PHFetchResult", "PHImageManager", "PHLivePhoto", "PHLivePhotoEditingContext", "PHObject", "PHPersistentChange", "PHPersistentChangeFetchResult", "PHPersistentChangeToken", "PHPersistentObjectChangeDetails", "PHPhotoLibrary", "PHProject", "PHProjectChangeRequest", "PhotosTypes"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-photos
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Currently not possible to turn off, put here for forwards compatibility.
Enables std of optional bitflags, optional block2, objc2, optional objc2-app-kit, optional objc2-core-image, optional objc2-core-location, objc2-foundation, and optional objc2-uniform-type-identifiers
- alloc std
-
Enables alloc of optional block2, objc2, optional objc2-app-kit, optional objc2-core-image, optional objc2-core-location, objc2-foundation, and optional objc2-uniform-type-identifiers
- all = PHAdjustmentData, PHAsset, PHAssetChangeRequest, PHAssetCollectionChangeRequest, PHAssetCreationRequest, PHAssetResource, PHAssetResourceManager, PHChange, PHChangeRequest, PHCloudIdentifier, PHCollection, PHCollectionListChangeRequest, PHContentEditingInput, PHContentEditingOutput, PHError, PHFetchOptions, PHFetchResult, PHImageManager, PHLivePhoto, PHLivePhotoEditingContext, PHObject, PHPersistentChange, PHPersistentChangeFetchResult, PHPersistentChangeToken, PHPersistentObjectChangeDetails, PHPhotoLibrary, PHProject, PHProjectChangeRequest, PhotosTypes, bitflags, block2, objc2-app-kit, objc2-core-image, objc2-core-location, objc2-uniform-type-identifiers
- bitflags PhotosTypes? all?
-
Enables bitflags, bitflags of objc2-foundation and optional objc2-app-kit
- block2 all?
-
Enables block2, block2 of objc2-foundation, optional objc2-app-kit, optional objc2-core-image, optional objc2-core-location, and optional objc2-uniform-type-identifiers
Affects
PHAssetResourceManager::PHAssetResourceProgressHandler
,PHImageManager::PHAssetImageProgressHandler
,PHImageManager::PHAssetVideoProgressHandler
,PHLivePhotoEditingContext::PHLivePhotoFrameProcessingBlock
… - objc2-app-kit all?
-
Enables objc2-app-kit
- objc2-core-image all?
-
Enables objc2-core-image, objc2-core-image of optional objc2-app-kit
Affects
PHLivePhotoEditingContext::PHLivePhotoFrameProcessingBlock
… - objc2-core-location all?
-
Enables objc2-core-location
- objc2-uniform-type-identifiers all?
-
Enables objc2-uniform-type-identifiers
- PHAdjustmentData all?
-
Enables NSData and NSString of objc2-foundation
- PHAsset all?
-
Enables NSArray, NSDate, NSObject, NSString and NSURL of objc2-foundation, CLLocation of optional objc2-core-location
- PHAssetChangeRequest all?
-
Enables NSDate, NSDictionary, NSEnumerator, NSString and NSURL of objc2-foundation, NSImage of optional objc2-app-kit, CLLocation of optional objc2-core-location
- PHAssetCollectionChangeRequest all?
-
Enables NSEnumerator, NSIndexSet and NSString of objc2-foundation
- PHAssetCreationRequest all?
-
Enables NSArray, NSData, NSObject, NSString, NSURL and NSValue of objc2-foundation, NSImage of optional objc2-app-kit
- PHAssetResource all?
-
Enables NSArray and NSString of objc2-foundation
- PHAssetResourceManager all?
-
Enables NSData, NSError, NSObject and NSURL of objc2-foundation
- PHChange all?
-
Enables NSArray and NSIndexSet of objc2-foundation
- PHChangeRequest all?
- PHCloudIdentifier all?
-
Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation
- PHCollection all?
-
Enables NSArray, NSDate, NSObject, NSString and NSURL of objc2-foundation, CLLocation of optional objc2-core-location
- PHCollectionListChangeRequest all?
-
Enables NSEnumerator, NSIndexSet and NSString of objc2-foundation
- PHContentEditingInput all?
-
Enables NSDate, NSString and NSURL of objc2-foundation, NSImage of optional objc2-app-kit, CLLocation of optional objc2-core-location
- PHContentEditingOutput all?
-
Enables NSArray, NSError and NSURL of objc2-foundation, UTType of optional objc2-uniform-type-identifiers
- PHError all?
-
Enables NSError and NSString of objc2-foundation
- PHFetchOptions all?
-
Enables NSArray, NSObject, NSPredicate and NSSortDescriptor of objc2-foundation
- PHFetchResult all?
-
Enables NSArray, NSEnumerator, NSIndexSet, NSObjCRuntime, NSObject and NSRange of objc2-foundation
- PHImageManager all?
-
Enables NSArray, NSDictionary, NSError, NSGeometry, NSObject and NSString of objc2-foundation, NSImage of optional objc2-app-kit
- PHLivePhoto all?
-
Enables NSArray, NSDictionary, NSGeometry, NSItemProvider, NSObject, NSString and NSURL of objc2-foundation, NSImage of optional objc2-app-kit
- PHLivePhotoEditingContext all?
-
Enables NSDictionary, NSError, NSGeometry and NSString of objc2-foundation, CIImage of optional objc2-core-image
- PHObject all?
-
Enables NSObject and NSString of objc2-foundation
- PHPersistentChange all?
-
Enables NSError of objc2-foundation
- PHPersistentChangeFetchResult all?
- PHPersistentChangeToken all?
-
Enables NSObject of objc2-foundation
- PHPersistentObjectChangeDetails all?
-
Enables NSSet and NSString of objc2-foundation
- PHPhotoLibrary all?
-
Enables NSError of objc2-foundation
- PHProject all?
-
Enables NSData and NSObject of objc2-foundation
- PHProjectChangeRequest all?
-
Enables NSData, NSEnumerator and NSString of objc2-foundation, NSImage of optional objc2-app-kit
- PhotosTypes all? = bitflags