Cargo Features

[dependencies]
objc2-io-bluetooth = { version = "0.3.1", default-features = false, features = ["std", "alloc", "libc", "objc2", "objc2-core-foundation", "objc2-foundation", "Bluetooth", "IOBluetoothDevice", "IOBluetoothDevicePair", "IOBluetoothHandsFreeAudioGateway", "IOBluetoothHostController", "IOBluetoothObject", "IOBluetoothSDPDataElement", "IOBluetoothSDPServiceRecord", "IOBluetoothTypes", "IOBluetoothUserLib", "IOBluetoothUtilities", "NSDictionaryOBEXExtensions", "OBEX", "OBEXSession"] }
default = Bluetooth, BluetoothAssignedNumbers, IOBluetoothDevice, IOBluetoothDeviceInquiry, IOBluetoothDevicePair, IOBluetoothHandsFree, IOBluetoothHandsFreeAudioGateway, IOBluetoothHandsFreeDevice, IOBluetoothHostController, IOBluetoothL2CAPChannel, IOBluetoothOBEXSession, IOBluetoothObject, IOBluetoothRFCOMMChannel, IOBluetoothSDPDataElement, IOBluetoothSDPServiceAttribute, IOBluetoothSDPServiceRecord, IOBluetoothSDPUUID, IOBluetoothTypes, IOBluetoothUserLib, IOBluetoothUserNotification, IOBluetoothUtilities, NSDictionaryOBEXExtensions, OBEX, OBEXBluetooth, OBEXFileTransferServices, OBEXSession, libc, objc2, objc2-core-foundation, objc2-foundation, std

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

std default = alloc
alloc std
libc default

Enables libc

Affects Bluetooth::BluetoothHCIRequestCallbackInfo

objc2 default

Enables objc2, objc2 of optional objc2-core-foundation

Affects IOBluetoothUtilities::IOBluetoothGetUniqueFileNameAndPath, IOBluetoothUtilities::IOBluetoothNSStringFromDeviceAddress, IOBluetoothUtilities::IOBluetoothNSStringFromDeviceAddressColon

objc2-core-foundation default

Enables objc2-core-foundation

Affects IOBluetoothUserLib::IOBluetoothAddSCOAudioDevice, IOBluetoothUserLib::IOBluetoothL2CAPChannelRegisterForChannelCloseNotification, OBEX::OBEXCreateVCard, OBEX::OBEXCreateVEvent, OBEX::kOBEXHeaderIDKeyName, OBEX::kOBEXHeaderIDKeyType, OBEX::kOBEXHeaderIDKeyDescription, OBEX::kOBEXHeaderIDKeyTimeISO, OBEX::kOBEXHeaderIDKeyTime4Byte, OBEX::kOBEXHeaderIDKeyTarget, OBEX::kOBEXHeaderIDKeyHTTP, OBEX::kOBEXHeaderIDKeyBody, OBEX::kOBEXHeaderIDKeyEndOfBody, OBEX::kOBEXHeaderIDKeyWho, OBEX::kOBEXHeaderIDKeyAppParameters, OBEX::kOBEXHeaderIDKeyAuthorizationChallenge, OBEX::kOBEXHeaderIDKeyAuthorizationResponse, OBEX::kOBEXHeaderIDKeyObjectClass, OBEXFileTransferServices::kFTSProgressBytesTransferredKey, OBEXFileTransferServices::kFTSProgressBytesTotalKey

objc2-foundation default

Enables objc2-foundation

Affects IOBluetoothUtilities::IOBluetoothIsFileAppleDesignatedPIMData, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorService, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorCall, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorCallSetup, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorCallHeld, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorSignal, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorRoam, IOBluetoothHandsFree::IOBluetoothHandsFreeIndicatorBattChg, IOBluetoothHandsFree::IOBluetoothHandsFreeCallIndex, IOBluetoothHandsFree::IOBluetoothHandsFreeCallDirection, IOBluetoothHandsFree::IOBluetoothHandsFreeCallMode, IOBluetoothHandsFree::IOBluetoothHandsFreeCallMultiparty, IOBluetoothHandsFree::IOBluetoothHandsFreeCallType, IOBluetoothHandsFree::IOBluetoothHandsFreeCallName, IOBluetoothHandsFree::IOBluetoothPDUServicCenterAddress, IOBluetoothHostController::IOBluetoothHostControllerPoweredOnNotification, IOBluetoothHostController::IOBluetoothHostControllerPoweredOffNotification, IOBluetoothL2CAPChannel::IOBluetoothL2CAPChannelPublishedNotification, IOBluetoothL2CAPChannel::IOBluetoothL2CAPChannelTerminatedNotification, IOBluetoothUtilities::IOBluetoothNSStringToDeviceAddress

Bluetooth default

Affects IOBluetoothUserLib::IOBluetoothDeviceSearchDeviceAttributes, IOBluetoothUserLib::IOBluetoothDeviceSearchAttributes, objc2-io-bluetooth::BluetoothDeviceName, IOBluetoothUtilities::IOBluetoothNSStringToDeviceAddress, IOBluetoothUtilities::IOBluetoothNSStringFromDeviceAddress, IOBluetoothUtilities::IOBluetoothNSStringFromDeviceAddressColon, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber

BluetoothAssignedNumbers IOBluetoothDevice default
IOBluetoothDeviceInquiry IOBluetoothDevicePair default
IOBluetoothHandsFree IOBluetoothHandsFreeAudioGateway default
IOBluetoothHandsFreeDevice IOBluetoothHostController default
IOBluetoothL2CAPChannel IOBluetoothOBEXSession IOBluetoothObject default
IOBluetoothRFCOMMChannel IOBluetoothSDPDataElement default
IOBluetoothSDPServiceAttribute IOBluetoothSDPServiceRecord default
IOBluetoothSDPUUID IOBluetoothTypes default
IOBluetoothUserLib default

Affects IOBluetoothL2CAPChannel::IOBluetoothL2CAPChannelIncomingDataListener, IOBluetoothL2CAPChannel::IOBluetoothL2CAPChannelIncomingEventListener, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber

IOBluetoothUserNotification IOBluetoothUtilities default
NSDictionaryOBEXExtensions default
OBEX default

Affects OBEXBluetooth::IOBluetoothOBEXSessionOpenConnectionCallback, OBEXBluetooth::IOBluetoothOBEXSessionOpenTransportConnection, OBEXSession::OBEXTransportEvent, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel, OBEXBluetooth::IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber

OBEXBluetooth OBEXFileTransferServices OBEXSession default