Cargo Features

[dependencies]
objc2-service-management = { version = "0.3.0", default-features = false, features = ["std", "alloc", "block2", "objc2", "objc2-core-foundation", "objc2-foundation", "objc2-security", "SMLoginItem"] }
default = SMAppService, SMErrors, SMLoginItem, block2, objc2, objc2-core-foundation, objc2-foundation, objc2-security, std

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

std default = alloc
alloc std
block2 default

Enables block2

objc2 default

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

Affects SMAppService::SMAppServiceStatus

objc2-core-foundation default

Enables objc2-core-foundation

Affects SMErrors::kSMErrorDomainIPC, SMErrors::kSMErrorDomainFramework, SMErrors::kSMErrorDomainLaunchd, SMLoginItem::SMLoginItemSetEnabled, generated::kSMDomainSystemLaunchd, generated::kSMDomainUserLaunchd, generated::SMJobCopyDictionary, generated::SMCopyAllJobDictionaries, generated::SMJobSubmit, generated::SMJobRemove, generated::SMJobBless

objc2-foundation default

Enables objc2-foundation

Affects SMAppService::SMAppServiceErrorDomain

objc2-security default

Enables objc2-security

Affects generated::SMJobSubmit, generated::SMJobRemove, generated::SMJobBless

SMAppService SMErrors SMLoginItem default