Cargo Features

[dependencies]
objc2-core-bluetooth = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "CBATTRequest", "CBAdvertisementData", "CBAttribute", "CBCentral", "CBCentralManager", "CBCentralManagerConstants", "CBCharacteristic", "CBDescriptor", "CBError", "CBL2CAPChannel", "CBManager", "CBPeer", "CBPeripheral", "CBPeripheralManager", "CBPeripheralManagerConstants", "CBService", "CBUUID"] }
default = std

The std feature is set by default whenever objc2-core-bluetooth is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of optional bitflags, objc2, and objc2-foundation

alloc std

Enables alloc of objc2 and objc2-foundation

all = CBATTRequest, CBAdvertisementData, CBAttribute, CBCentral, CBCentralManager, CBCentralManagerConstants, CBCharacteristic, CBDefines, CBDescriptor, CBError, CBL2CAPChannel, CBManager, CBPeer, CBPeripheral, CBPeripheralManager, CBPeripheralManagerConstants, CBService, CBUUID, bitflags
bitflags CBCentralManager? CBCharacteristic? all?

Enables bitflags, bitflags of objc2-foundation

CBATTRequest all?

Enables NSData of objc2-foundation

CBAdvertisementData all?

Enables NSString of objc2-foundation

CBAttribute all?
CBCentral all?

Enables NSObject of objc2-foundation

CBCentralManager all? = bitflags

Enables NSArray, NSDictionary, NSError, NSString, NSUUID and NSValue of objc2-foundation

CBCentralManagerConstants all?

Enables NSString of objc2-foundation

CBCharacteristic all? = bitflags

Enables NSArray and NSData of objc2-foundation

CBDefines CBDescriptor all?
CBError all?

Enables NSString of objc2-foundation

CBL2CAPChannel all?

Enables NSStream of objc2-foundation

CBManager all?
CBPeer all?

Enables NSObject and NSUUID of objc2-foundation

CBPeripheral all?

Enables NSArray, NSData, NSError, NSObject, NSString and NSValue of objc2-foundation

CBPeripheralManager all?

Enables NSArray, NSData, NSDictionary, NSError and NSString of objc2-foundation

CBPeripheralManagerConstants all?

Enables NSString of objc2-foundation

CBService all?

Enables NSArray of objc2-foundation

CBUUID all?

Enables NSData, NSObject, NSString and NSUUID of objc2-foundation