Cargo Features
[dependencies]
objc2-photos = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2-app-kit", "objc2-av-foundation", "objc2-core-foundation", "objc2-core-image", "objc2-core-location", "objc2-core-media", "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 = 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-av-foundation, objc2-core-foundation, objc2-core-image, objc2-core-location, objc2-core-media, std
-
These default features are set whenever
objc2-photos
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default PhotosTypes
-
Enables bitflags
- block2 default
-
Enables block2
Affects
PHAssetResourceManager::PHAssetResourceProgressHandler
,PHImageManager::PHAssetImageProgressHandler
,PHImageManager::PHAssetVideoProgressHandler
,PHLivePhotoEditingContext::PHLivePhotoFrameProcessingBlock
… - objc2-app-kit default
-
Enables objc2-app-kit
- objc2-av-foundation default
-
Enables objc2-av-foundation
- objc2-core-foundation default
-
Enables objc2-core-foundation
Affects
PHImageManager::PHImageManagerMaximumSize
… - objc2-core-image default
-
Enables objc2-core-image
Affects
PHLivePhotoEditingContext::PHLivePhotoFrameProcessingBlock
… - objc2-core-location default
-
Enables objc2-core-location
- objc2-core-media default
-
Enables objc2-core-media
- objc2-uniform-type-identifiers
-
Enables objc2-uniform-type-identifiers
- PHAdjustmentData default
-
Enables NSData and NSString of objc2-foundation
- PHAsset default
-
Enables NSArray, NSDate, NSObject, NSString and NSURL of objc2-foundation
- PHAssetChangeRequest default
-
Enables NSDate, NSDictionary, NSEnumerator, NSString and NSURL of objc2-foundation
- PHAssetCollectionChangeRequest default
-
Enables NSEnumerator, NSIndexSet and NSString of objc2-foundation
- PHAssetCreationRequest default
-
Enables NSArray, NSData, NSObject, NSString, NSURL and NSValue of objc2-foundation
- PHAssetResource default
-
Enables NSArray and NSString of objc2-foundation
- PHAssetResourceManager default
-
Enables NSData, NSError, NSObject and NSURL of objc2-foundation
- PHChange default
-
Enables NSArray and NSIndexSet of objc2-foundation
- PHChangeRequest default
- PHCloudIdentifier default
-
Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation
- PHCollection default
-
Enables NSArray, NSDate, NSObject, NSString and NSURL of objc2-foundation
- PHCollectionListChangeRequest default
-
Enables NSEnumerator, NSIndexSet and NSString of objc2-foundation
- PHContentEditingInput default
-
Enables NSDate, NSString and NSURL of objc2-foundation
- PHContentEditingOutput default
-
Enables NSArray, NSError and NSURL of objc2-foundation
- PHError default
-
Enables NSError and NSString of objc2-foundation
- PHFetchOptions default
-
Enables NSArray, NSObject, NSPredicate and NSSortDescriptor of objc2-foundation
- PHFetchResult default
-
Enables NSArray, NSEnumerator, NSIndexSet, NSObjCRuntime, NSObject and NSRange of objc2-foundation
- PHImageManager default
-
Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation
- PHLivePhoto default
-
Enables NSArray, NSDictionary, NSItemProvider, NSObject, NSString and NSURL of objc2-foundation
- PHLivePhotoEditingContext default
-
Enables NSDictionary, NSError and NSString of objc2-foundation
- PHObject default
-
Enables NSObject and NSString of objc2-foundation
- PHPersistentChange default
-
Enables NSError of objc2-foundation
- PHPersistentChangeFetchResult default
- PHPersistentChangeToken default
-
Enables NSObject of objc2-foundation
- PHPersistentObjectChangeDetails default
-
Enables NSSet and NSString of objc2-foundation
- PHPhotoLibrary default
-
Enables NSError of objc2-foundation
- PHProject default
-
Enables NSData and NSObject of objc2-foundation
- PHProjectChangeRequest default
-
Enables NSData, NSEnumerator and NSString of objc2-foundation
- PhotosTypes default = bitflags