Cargo Features

[dependencies]
objc2-core-midi = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2", "objc2-core-foundation", "objc2-foundation", "MIDICIDevice", "MIDICapabilityInquiry", "MIDIDriver", "MIDIMessages", "MIDINetworkSession", "MIDIServices", "MIDIThruConnection", "MIDIUMPCI", "MIDIUMPCIProfile", "MIDIUMPEndpoint", "MIDIUMPFunctionBlock", "MIDIUMPMutableEndpoint", "MIDIUMPMutableFunctionBlock"] }
default = MIDIBluetoothConnection, MIDICIDevice, MIDICIDeviceManager, MIDICapabilityInquiry, MIDIDriver, MIDIMessages, MIDINetworkSession, MIDIServices, MIDISetup, MIDIThruConnection, MIDIUMPCI, MIDIUMPCIProfile, MIDIUMPEndpoint, MIDIUMPEndpointManager, MIDIUMPFunctionBlock, MIDIUMPMutableEndpoint, MIDIUMPMutableFunctionBlock, bitflags, block2, objc2, objc2-core-foundation, objc2-foundation, std

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

std default = alloc
alloc std
bitflags default MIDIMessages MIDIUMPCI MIDIUMPEndpoint

Enables bitflags

block2 default

Enables block2

Affects MIDIServices::MIDINotifyBlock, MIDIServices::MIDIReceiveBlock, MIDIServices::MIDIReadBlock, MIDIServices::MIDIClientCreateWithBlock, MIDIServices::MIDIInputPortCreateWithProtocol, MIDIServices::MIDIInputPortCreateWithBlock, MIDIServices::MIDIDestinationCreateWithProtocol, MIDIServices::MIDIDestinationCreateWithBlock, MIDICapabilityInquiry::MIDICIProfileChangedBlock, MIDICapabilityInquiry::MIDICISessionDisconnectBlock, MIDICapabilityInquiry::MIDICIDiscoveryResponseBlock, MIDICapabilityInquiry::MIDICIProfileSpecificDataBlock

objc2 default

Enables objc2, objc2 of optional objc2-core-foundation

Affects MIDINetworkSession::MIDINetworkConnectionPolicy, MIDICapabilityInquiry::MIDICIProfileStateList, MIDICapabilityInquiry::MIDICIProfileChangedBlock, MIDICapabilityInquiry::MIDICISessionDisconnectBlock, MIDICapabilityInquiry::MIDICIDiscoveryResponseBlock, MIDICapabilityInquiry::MIDICIProfileSpecificDataBlock

objc2-core-foundation default

Enables objc2-core-foundation

Affects MIDIBluetoothConnection::MIDIBluetoothDriverDisconnect, MIDIDriver::kMIDIDriverPropertyUsesSerial, MIDIDriver::MIDIGetDriverIORunLoop, MIDIServices::MIDIObjectPropertyChangeNotification, MIDIServices::kMIDIPropertyName, MIDIServices::kMIDIPropertyManufacturer, MIDIServices::kMIDIPropertyModel, MIDIServices::kMIDIPropertyUniqueID, MIDIServices::kMIDIPropertyDeviceID, MIDIServices::kMIDIPropertyReceiveChannels, MIDIServices::kMIDIPropertyTransmitChannels, MIDIServices::kMIDIPropertyMaxSysExSpeed, MIDIServices::kMIDIPropertyAdvanceScheduleTimeMuSec, MIDIServices::kMIDIPropertyIsEmbeddedEntity, MIDIServices::kMIDIPropertyIsBroadcast, MIDIServices::kMIDIPropertySingleRealtimeEntity, MIDIServices::kMIDIPropertyConnectionUniqueID, MIDIServices::kMIDIPropertyOffline, MIDIServices::kMIDIPropertyPrivate, MIDISetup::MIDIGetSerialPortOwner

objc2-foundation default

Enables objc2-foundation

Affects MIDICIDeviceManager::MIDICIDeviceWasAddedNotification, MIDICIDeviceManager::MIDICIDeviceWasRemovedNotification, MIDICIDeviceManager::MIDICIProfileWasUpdatedNotification, MIDICIDeviceManager::MIDICIProfileWasRemovedNotification, MIDICIDeviceManager::MIDICIDeviceManagerDictionaryKey, MIDICIDeviceManager::MIDICIDeviceObjectKey, MIDICIDeviceManager::MIDICIProfileObjectKey, MIDICapabilityInquiry::MIDICIInitiatiorMUID, MIDINetworkSession::MIDINetworkBonjourServiceType, MIDINetworkSession::MIDINetworkNotificationContactsDidChange, MIDINetworkSession::MIDINetworkNotificationSessionDidChange, MIDIUMPEndpointManager::MIDIUMPEndpointWasAddedNotification, MIDIUMPEndpointManager::MIDIUMPEndpointWasRemovedNotification, MIDIUMPEndpointManager::MIDIUMPEndpointWasUpdatedNotification, MIDIUMPEndpointManager::MIDIUMPFunctionBlockWasUpdatedNotification, MIDIUMPEndpointManager::MIDIUMPEndpointManagerDictionaryKey, MIDIUMPEndpointManager::MIDIUMPEndpointObjectKey, MIDIUMPEndpointManager::MIDIUMPFunctionBlockObjectKey, MIDICapabilityInquiry::MIDICIProfileStateList, MIDICapabilityInquiry::MIDICISessionDisconnectBlock

MIDIBluetoothConnection MIDICIDevice default
MIDICIDeviceManager MIDICapabilityInquiry default
MIDIDriver default
MIDIMessages default = bitflags

Affects MIDICapabilityInquiry::MIDIChannelsWholePort, MIDIUMPCI::MIDICICategoryOptions, MIDIUMPCI::MIDIUMPFunctionBlockID, MIDIUMPCI::MIDICIProfileMessageType, MIDIUMPCI::MIDICIPropertyExchangeMessageType, MIDIUMPCI::MIDICIProcessInquiryMessageType, MIDIUMPCI::MIDICIManagementMessageType, MIDIUMPCI::MIDICIProfileIDStandard, MIDIUMPCI::MIDICIProfileIDManufacturerSpecific, MIDIUMPEndpoint::MIDIUMPProtocolOptions, MIDICapabilityInquiry::MIDICIProfileChangedBlock, MIDICapabilityInquiry::MIDICIProfileSpecificDataBlock

MIDINetworkSession default
MIDIServices default

Affects MIDIDriver::MIDIDeviceListRef, MIDIDriver::MIDIDeviceDispose, MIDIDriver::MIDIDeviceListGetNumberOfDevices, MIDIDriver::MIDIDeviceListGetDevice, MIDIDriver::MIDIDeviceListAddDevice, MIDIDriver::MIDIDeviceListDispose, MIDIDriver::MIDIEndpointSetRefCons, MIDIDriver::MIDIEndpointGetRefCons, MIDIDriver::MIDIGetDriverDeviceList, MIDIMessages::MIDIEventVisitor, MIDIMessages::MIDIEventListForEachEvent, MIDISetup::MIDISetupRef, MIDISetup::MIDISetupCreate, MIDISetup::MIDISetupDispose, MIDISetup::MIDISetupInstall, MIDISetup::MIDISetupGetCurrent, MIDISetup::MIDIDeviceRemoveEntity, MIDISetup::MIDIEntityAddOrRemoveEndpoints, MIDISetup::MIDISetupAddDevice, MIDISetup::MIDISetupRemoveDevice

MIDISetup MIDIThruConnection default
MIDIUMPCI default = bitflags
MIDIUMPCIProfile default
MIDIUMPEndpoint default = bitflags
MIDIUMPEndpointManager MIDIUMPFunctionBlock default
MIDIUMPMutableEndpoint default
MIDIUMPMutableFunctionBlock default