[dependencies.async-trait]
version = "0.1"
[dependencies.bitflags]
version = "2.6"
[dependencies.block2]
optional = true
version = "0.5"
[dependencies.bluer]
features = ["bluetoothd"]
optional = true
version = "0.17"
[dependencies.chacha20poly1305]
version = "0.10"
[dependencies.esp-idf-hal]
optional = true
version = "0.45"
[dependencies.esp-idf-svc]
optional = true
version = "0.50"
[dependencies.hkdf]
version = "0.12"
[dependencies.jni]
optional = true
version = "0.21"
[dependencies.log]
version = "0.4"
[dependencies.ndk]
optional = true
version = "0.9"
[dependencies.objc2]
optional = true
version = "0.5"
[dependencies.objc2-core-bluetooth]
features = ["all"]
optional = true
version = "0.2"
[dependencies.objc2-foundation]
optional = true
version = "0.2"
[dependencies.rand_core]
features = ["getrandom"]
version = "0.6"
[dependencies.sha2]
version = "0.10"
[dependencies.spin]
default-features = false
features = ["rwlock"]
version = "0.9"
[dependencies.thiserror]
default-features = false
version = "2.0"
[dependencies.tokio]
features = ["sync", "time", "macros", "rt-multi-thread"]
optional = true
version = "1.42"
[dependencies.tokio-stream]
optional = true
version = "0.1"
[dependencies.uuid]
default-features = false
version = "1.11"
[dependencies.windows]
features = ["Devices_Bluetooth", "Devices_Bluetooth_Advertisement", "Devices_Bluetooth_GenericAttributeProfile", "Foundation", "Foundation_Collections", "Storage_Streams", "implement"]
optional = true
version = "0.58"
[dependencies.x25519-dalek]
features = ["static_secrets"]
version = "2.0"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros"]
version = "1.42"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "basic_mesh"
path = "examples/basic_mesh.rs"
[[example]]
name = "encryption_demo"
path = "examples/encryption_demo.rs"
[[example]]
name = "linux_scanner"
path = "examples/linux_scanner.rs"
[[example]]
name = "peer_e2ee"
path = "examples/peer_e2ee.rs"
[[example]]
name = "profile_stress"
path = "examples/profile_stress.rs"
[features]
android = ["dep:jni", "dep:ndk", "dep:tokio"]
coded-phy = []
default = ["std"]
embedded = []
esp32 = ["embedded", "std", "dep:esp-idf-svc", "dep:esp-idf-hal"]
extended-adv = []
ios = ["dep:objc2", "dep:block2", "dep:tokio", "dep:objc2-foundation", "dep:objc2-core-bluetooth"]
linux = ["dep:bluer", "dep:tokio", "dep:tokio-stream"]
macos = ["dep:objc2", "dep:block2", "dep:tokio", "dep:objc2-foundation", "dep:objc2-core-bluetooth"]
std = ["thiserror/std", "uuid/std"]
windows = ["dep:windows", "dep:tokio"]
[lib]
crate-type = ["rlib", "cdylib"]
name = "hive_btle"
path = "src/lib.rs"
[package]
authors = ["(r)evolve - Revolve Team LLC"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "embedded"]
description = "Bluetooth Low Energy mesh transport for HIVE Protocol"
edition = "2021"
keywords = ["bluetooth", "ble", "mesh", "hive", "tactical"]
license = "Apache-2.0"
name = "hive-btle"
readme = "README.md"
repository = "https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z3fF7wV6LXz915ND1nbHTfeY3Qcq7"
version = "0.0.12"
[package.metadata.docs.rs]
features = ["linux"]
[[test]]
name = "emergency_flow"
path = "tests/emergency_flow.rs"
[[test]]
name = "mesh_sync"
path = "tests/mesh_sync.rs"
[[test]]
name = "peer_connection_test"
path = "tests/peer_connection_test.rs"