Cargo Features

[dependencies]
objc2-core-services = { version = "0.3.1", default-features = false, features = ["std", "alloc", "bitflags", "block2", "dispatch2", "libc", "objc2", "objc2-security", "AE", "AEDataModel", "AEPackObject", "AEUserTermTypes", "AppleEvents", "CSIdentity", "CSIdentityAuthority", "CSIdentityBase", "CSIdentityQuery", "DictionaryServices", "FSEvents", "IconStorage", "IconsCore", "LSConstants", "LSInfo", "LSOpen", "LSQuarantine", "LSSharedFileList", "LaunchServices", "MDImporter", "MDItem", "MDLabel", "MDQuery", "MDSchema", "Metadata", "OSServices", "SKAnalysis", "SKDocument", "SKIndex", "SKSearch", "SecurityCore", "UTCoreTypes", "UTType", "WSMethodInvocation", "WSProtocolHandler", "WSTypes"] }
default = AE, AEDataModel, AEHelpers, AEMach, AEObjects, AEPackObject, AERegistry, AEUserTermTypes, AppleEvents, CSIdentity, CSIdentityAuthority, CSIdentityBase, CSIdentityQuery, DictionaryServices, FSEvents, IconStorage, IconsCore, LSConstants, LSInfo, LSOpen, LSQuarantine, LSSharedFileList, LaunchServices, MDImporter, MDItem, MDLabel, MDQuery, MDSchema, Metadata, OSServices, SKAnalysis, SKDocument, SKIndex, SKSearch, SKSummary, SearchKit, SecurityCore, SharedFileList, UTCoreTypes, UTType, WSMethodInvocation, WSProtocolHandler, WSTypes, bitflags, block2, dispatch2, libc, objc2, objc2-security, std

These default features are set whenever objc2-core-services is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
bitflags default LSConstants LSInfo LSOpen

Enables bitflags

block2 default

Enables block2

Affects MDItem::MDItemGetCacheFileDescriptors, MDQuery::MDQuerySetSortComparatorBlock

dispatch2 default

Enables dispatch2

Affects FSEvents::FSEventStreamSetDispatchQueue, MDQuery::MDQuerySetDispatchQueue

libc default

Enables libc

Affects AEMach::AEGetRegisteredMachPort, FSEvents::FSEventStreamCreateRelativeToDevice, FSEvents::FSEventStreamGetDeviceBeingWatched, FSEvents::FSEventsCopyUUIDForDevice, FSEvents::FSEventsGetLastEventIdForDeviceBeforeTime, FSEvents::FSEventsPurgeEventsForDeviceUpToEventId, CSIdentity::CSIdentityGetPosixID, CSIdentityQuery::CSIdentityQueryCreateForPosixID

objc2 default

Enables objc2, objc2 of optional dispatch2, objc2 of objc2-core-foundation and optional objc2-security

objc2-security default

Enables objc2-security

Affects CSIdentity::CSIdentityGetCertificate, CSIdentity::CSIdentitySetCertificate, CSIdentity::CSIdentityCommit, CSIdentity::CSIdentityCommitAsynchronously, LSSharedFileList::LSSharedFileListSetAuthorization

AE default

Affects LSOpen::LSLaunchURLSpec, LSOpen::LSOpenFromURLSpec

AEDataModel default

Affects AEHelpers::AEPrintDescToHandle, AEHelpers::AEStreamClose, AEHelpers::AEStreamOpenDesc, AEHelpers::AEStreamWriteDesc, AEHelpers::AEStreamWriteAEDesc, AEHelpers::AEStreamOpenRecord, AEHelpers::AEStreamSetRecordType, AEHelpers::AEStreamWriteKeyDesc, AEHelpers::AEStreamOpenKeyDesc, AEHelpers::AEStreamWriteKey, AEHelpers::AEStreamCreateEvent, AEHelpers::AEStreamOpenEvent, AEHelpers::AEStreamOptionalParam, AEMach::keyReplyPortAttr, AEMach::typeReplyPortAttr, AEMach::AESendMessage, AEObjects::keyAERangeStart, AEObjects::keyAERangeStop, AEObjects::keyDisposeTokenProc, AEObjects::keyAECompareProc

AEHelpers AEMach AEObjects AEPackObject default
AERegistry AEUserTermTypes default
AppleEvents default

Enables CFArray, CFRunLoop, CFStream and CFURL of objc2-core-foundation

CSIdentity default

Enables CFArray, CFData, CFError, CFRunLoop, CFURL and CFUUID of objc2-core-foundation

Affects CSIdentityQuery::CSIdentityQueryReceiveEventCallback, CSIdentityQuery::CSIdentityQueryClientContext, CSIdentityQuery::CSIdentityQueryCreateForPersistentReference, CSIdentityQuery::CSIdentityQueryCreateForCurrentUser, CSIdentityQuery::CSIdentityQueryCopyResults, CSIdentityQuery::CSIdentityQueryExecute, CSIdentityQuery::CSIdentityQueryExecuteAsynchronously, CSIdentityQuery::CSIdentityQueryStop, CSIdentityQuery::CSIdentityQueryCreate, CSIdentityQuery::CSIdentityQueryCreateForName, CSIdentityQuery::CSIdentityQueryCreateForUUID, CSIdentityQuery::CSIdentityQueryCreateForPosixID

CSIdentityAuthority default

Affects CSIdentity::CSIdentityCreate, CSIdentity::CSIdentityGetAuthority, CSIdentityQuery::CSIdentityQueryCreate, CSIdentityQuery::CSIdentityQueryCreateForName, CSIdentityQuery::CSIdentityQueryCreateForUUID, CSIdentityQuery::CSIdentityQueryCreateForPosixID

CSIdentityBase default
CSIdentityQuery default

Enables CFArray, CFData, CFError, CFRunLoop and CFUUID of objc2-core-foundation

DictionaryServices default
FSEvents default

Enables CFArray, CFDate, CFRunLoop and CFUUID of objc2-core-foundation

Affects objc2-core-services::ConstFSEventStreamRef, objc2-core-services::kFSEventStreamEventIdSinceNow

IconStorage default

Affects IconsCore::GetIconRefFromIconFamilyPtr, IconsCore::RegisterIconRefFromIconFamily, IconsCore::ReadIconFromFSRef

IconsCore default

Affects LSSharedFileList::LSSharedFileListInsertItemURL, LSSharedFileList::LSSharedFileListItemCopyIconRef, LSSharedFileList::LSSharedFileListInsertItemFSRef

LSConstants default = bitflags

Affects LSInfo::LSCopyDefaultApplicationURLForURL, LSInfo::LSCopyDefaultApplicationURLForContentType, LSInfo::LSCopyApplicationURLsForURL, LSInfo::LSCanURLAcceptURL, LSInfo::LSCopyDefaultRoleHandlerForContentType, LSInfo::LSCopyAllRoleHandlersForContentType, LSInfo::LSSetDefaultRoleHandlerForContentType

LSInfo default = bitflags

Enables CFArray, CFError and CFURL of objc2-core-foundation

LSOpen default = bitflags

Enables CFArray and CFURL of objc2-core-foundation

LSQuarantine default
LSSharedFileList default

Enables CFArray, CFDictionary, CFError, CFRunLoop and CFURL of objc2-core-foundation

LaunchServices default

Affects LSSharedFileList::LSSharedFileListInsertItemURL, LSSharedFileList::LSSharedFileListItemCopyIconRef, LSSharedFileList::LSSharedFileListInsertItemFSRef

MDImporter default

Enables CFDictionary, CFPlugInCOM, CFURL and CFUUID of objc2-core-foundation

MDItem default

Enables CFArray, CFDictionary and CFURL of objc2-core-foundation

Affects MDLabel::MDItemCopyLabels, MDLabel::MDItemSetLabel, MDLabel::MDItemRemoveLabel, MDQuery::MDQueryCreateResultFunction, MDQuery::MDQuerySetCreateResultFunction

MDLabel default

Enables CFArray, CFDictionary and CFUUID of objc2-core-foundation

MDQuery default

Enables CFArray of objc2-core-foundation

MDSchema default

Enables CFArray and CFDictionary of objc2-core-foundation

Metadata default
OSServices default

Affects IconsCore::GetIconRefFromIconFamilyPtr, IconsCore::RegisterIconRefFromIconFamily, IconsCore::ReadIconFromFSRef

SKAnalysis default
SKDocument default

Enables CFURL of objc2-core-foundation

Affects SKIndex::SKIndexAddDocumentWithText, SKIndex::SKIndexAddDocument, SKIndex::SKIndexRemoveDocument, SKIndex::SKIndexCopyDocumentProperties, SKIndex::SKIndexSetDocumentProperties, SKIndex::SKIndexGetDocumentState, SKIndex::SKIndexGetDocumentID, SKIndex::SKIndexCopyDocumentForDocumentID, SKIndex::SKIndexRenameDocument, SKIndex::SKIndexMoveDocument, SKIndex::SKIndexDocumentIteratorCreate, SKIndex::SKIndexDocumentIteratorCopyNext, SKSearch::SKSearchResultsFilterCallBack, SKSearch::SKIndexCopyDocumentRefsForDocumentIDs, SKSearch::SKSearchResultsCreateWithQuery, SKSearch::SKSearchResultsCreateWithDocuments, SKSearch::SKSearchResultsGetInfoInRange

SKIndex default

Enables CFArray, CFData, CFDictionary and CFURL of objc2-core-foundation

Affects SKSearch::SKSearchCreate, SKSearch::SKSearchFindMatches, SKSearch::SKIndexCopyInfoForDocumentIDs, SKSearch::SKIndexCopyDocumentURLsForDocumentIDs, SKSearch::SKSearchResultsFilterCallBack, SKSearch::SKIndexCopyDocumentRefsForDocumentIDs, SKSearch::SKSearchResultsCreateWithQuery, SKSearch::SKSearchResultsCreateWithDocuments, SKSearch::SKSearchResultsGetInfoInRange

SKSearch default

Enables CFArray, CFDate and CFURL of objc2-core-foundation

SKSummary SearchKit SecurityCore default
SharedFileList UTCoreTypes default
UTType default

Enables CFArray, CFDictionary and CFURL of objc2-core-foundation

WSMethodInvocation default

Enables CFArray, CFData, CFDictionary, CFRunLoop, CFTree, CFURL and CFXMLNode of objc2-core-foundation

WSProtocolHandler default

Enables CFArray, CFData, CFDictionary, CFTree and CFXMLNode of objc2-core-foundation

WSTypes default

Affects WSMethodInvocation::WSMethodInvocationSetCallBack, WSMethodInvocation::WSMethodInvocationAddSerializationOverride, WSMethodInvocation::WSMethodInvocationAddDeserializationOverride, WSProtocolHandler::WSProtocolHandlerSetSerializationOverride, WSProtocolHandler::WSProtocolHandlerSetDeserializationOverride