# This file has been automatically generated by `objc2`'s `header-translator`.
# DO NOT EDIT

[package]
name = "objc2-core-bluetooth"
version.workspace = true
description = "Bindings to the CoreBluetooth framework"
edition.workspace = true
rust-version.workspace = true
keywords = ["cocoa", "apple", "framework", "macos", "ios"]
categories.workspace = true
repository.workspace = true
license.workspace = true

[lints]
workspace = true

[dependencies]
bitflags = { version = "2.5.0", default-features = false, optional = true, features = ["std"] }
objc2 = { path = "../../crates/objc2", version = "0.6.0", default-features = false, features = ["std"] }
objc2-core-foundation = { path = "../objc2-core-foundation", version = "0.3.0", default-features = false, optional = true, features = [
    "CFDate",
    "CFUUID",
    "objc2",
] }
objc2-foundation = { path = "../objc2-foundation", version = "0.3.0", default-features = false, features = ["alloc"] }

[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
    "aarch64-apple-ios",
    "aarch64-apple-tvos",
    "aarch64-apple-watchos",
    "aarch64-apple-ios-macabi",
    "aarch64-apple-visionos",
]

[features]
default = [
    "std",
    "CBATTRequest",
    "CBAdvertisementData",
    "CBAttribute",
    "CBCentral",
    "CBCentralManager",
    "CBCentralManagerConstants",
    "CBCharacteristic",
    "CBDefines",
    "CBDescriptor",
    "CBError",
    "CBL2CAPChannel",
    "CBManager",
    "CBPeer",
    "CBPeripheral",
    "CBPeripheralManager",
    "CBPeripheralManagerConstants",
    "CBService",
    "CBUUID",
    "bitflags",
    "objc2-core-foundation",
]
std = ["alloc"]
alloc = []
bitflags = ["dep:bitflags"]
objc2-core-foundation = ["dep:objc2-core-foundation"]

CBATTRequest = ["objc2-foundation/NSData"]
CBAdvertisementData = ["objc2-foundation/NSString"]
CBAttribute = []
CBCentral = ["objc2-foundation/NSObject"]
CBCentralManager = [
    "bitflags",
    "objc2-foundation/NSArray",
    "objc2-foundation/NSDictionary",
    "objc2-foundation/NSError",
    "objc2-foundation/NSString",
    "objc2-foundation/NSUUID",
    "objc2-foundation/NSValue",
]
CBCentralManagerConstants = ["objc2-foundation/NSString"]
CBCharacteristic = [
    "bitflags",
    "objc2-foundation/NSArray",
    "objc2-foundation/NSData",
]
CBDefines = []
CBDescriptor = []
CBError = ["objc2-foundation/NSString"]
CBL2CAPChannel = ["objc2-foundation/NSStream"]
CBManager = []
CBPeer = [
    "objc2-foundation/NSObject",
    "objc2-foundation/NSUUID",
]
CBPeripheral = [
    "objc2-foundation/NSArray",
    "objc2-foundation/NSData",
    "objc2-foundation/NSError",
    "objc2-foundation/NSObject",
    "objc2-foundation/NSString",
    "objc2-foundation/NSValue",
]
CBPeripheralManager = [
    "objc2-foundation/NSArray",
    "objc2-foundation/NSData",
    "objc2-foundation/NSDictionary",
    "objc2-foundation/NSError",
    "objc2-foundation/NSString",
]
CBPeripheralManagerConstants = ["objc2-foundation/NSString"]
CBService = ["objc2-foundation/NSArray"]
CBUUID = [
    "objc2-foundation/NSData",
    "objc2-foundation/NSObject",
    "objc2-foundation/NSString",
    "objc2-foundation/NSUUID",
]
