Cargo Features

[dependencies]
objc2-disk-arbitration = { version = "0.3.0", default-features = false, features = ["std", "alloc", "libc", "DADisk", "DADissenter", "DASession"] }
default = DADisk, DADissenter, DASession, libc, std

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

std default = alloc
alloc std
libc default

Enables libc

Affects DADissenter::DAReturn, DADissenter::DADissenterCreate, DADissenter::DADissenterGetStatus, generated::DADiskSetOptions

DADisk default

Enables objc2-core-foundation

Affects generated::DADiskAppearedCallback, generated::DADiskDescriptionChangedCallback, generated::DADiskDisappearedCallback, generated::DADiskIsClaimed, generated::DADiskUnclaim, generated::DADiskPeekCallback, generated::DADiskGetOptions, generated::DARegisterDiskAppearedCallback, generated::DARegisterDiskDescriptionChangedCallback, generated::DARegisterDiskDisappearedCallback, generated::DADiskMountCallback, generated::DADiskMount, generated::DADiskMountWithArguments, generated::DADiskMountApprovalCallback, generated::DADiskRenameCallback, generated::DADiskRename

DADissenter default

Enables objc2-core-foundation

Affects generated::DADiskMountCallback, generated::DADiskMount, generated::DADiskMountWithArguments, generated::DADiskMountApprovalCallback, generated::DADiskRenameCallback, generated::DADiskRename, generated::DADiskUnmountCallback, generated::DADiskUnmount, generated::DADiskUnmountApprovalCallback, generated::DADiskEjectCallback, generated::DADiskEject, generated::DADiskEjectApprovalCallback, generated::DADiskClaimCallback, generated::DADiskClaimReleaseCallback, generated::DADiskClaim, generated::DARegisterDiskMountApprovalCallback

DASession default

Enables CFRunLoop of objc2-core-foundation

Affects DADisk::DADiskCreateFromBSDName, DADisk::DADiskCreateFromVolumePath, generated::DAUnregisterCallback, generated::DAUnregisterApprovalCallback, generated::DARegisterDiskAppearedCallback, generated::DARegisterDiskDescriptionChangedCallback, generated::DARegisterDiskDisappearedCallback, generated::DARegisterDiskPeekCallback, generated::DARegisterDiskMountApprovalCallback, generated::DARegisterDiskUnmountApprovalCallback, generated::DARegisterDiskEjectApprovalCallback