[package]
edition = "2021"
rust-version = "1.85"
name = "hap-ble"
version = "0.1.0"
authors = ["hap-rust contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HomeKit Accessory Protocol (HAP) Bluetooth LE transport: discover, pair, read, and stream events from HomeKit accessories over BLE."
homepage = "https://github.com/phunapps/hap-rust"
readme = "README.md"
keywords = [
"homekit",
"hap",
"bluetooth",
"ble",
"iot",
]
categories = [
"network-programming",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/phunapps/hap-rust"
[lib]
name = "hap_ble"
path = "src/lib.rs"
[[example]]
name = "ble_pair_and_read"
path = "examples/ble_pair_and_read.rs"
[[example]]
name = "ble_scan"
path = "examples/ble_scan.rs"
[[example]]
name = "ble_sleepy_events"
path = "examples/ble_sleepy_events.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bluest]
version = "0.6.9"
[dependencies.hap-crypto]
version = "1.1.0"
[dependencies.hap-model]
version = "1.2.0"
[dependencies.hap-tlv8]
version = "1.0.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
"rt",
"macros",
]
default-features = false
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
]
default-features = false
[lints.clippy]
doc_markdown = "allow"
expect_used = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1