esp32-nimble 0.10.0

A wrapper for the ESP32 NimBLE Bluetooth stack.
[build-dependencies.anyhow]
version = "1"

[build-dependencies.embuild]
version = "0.33"

[dependencies.bitflags]
version = "2.4.1"

[dependencies.bstr]
default-features = false
version = "1.8.0"

[dependencies.cfg-if]
version = "1.0"

[dependencies.embassy-sync]
version = "0.6"

[dependencies.esp-idf-svc]
default-features = false
features = ["alloc", "embassy-sync"]
version = "0.51.0"

[dependencies.heapless]
version = "0.8.0"

[dependencies.log]
default-features = false
version = "0.4"

[dependencies.num_enum]
default-features = false
version = "0.7"

[dependencies.once_cell]
default-features = false
version = "1.19.0"

[dependencies.uuid]
default-features = false
features = ["macro-diagnostics"]
version = "1"

[dependencies.zerocopy]
version = "0.8"

[dependencies.zerocopy-derive]
version = "0.8"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.embassy-time]
features = ["generic-queue-8"]
version = "0.4.0"

[dev-dependencies.esp-idf-svc]
features = ["embassy-time-driver", "critical-section"]
version = "0.51.0"

[[example]]
name = "ble5_multi_advertiser"
path = "examples/ble5_multi_advertiser.rs"

[[example]]
name = "ble_client"
path = "examples/ble_client.rs"

[[example]]
name = "ble_keyboard"
path = "examples/ble_keyboard.rs"

[[example]]
name = "ble_l2cap_client"
path = "examples/ble_l2cap_client.rs"

[[example]]
name = "ble_l2cap_server"
path = "examples/ble_l2cap_server.rs"

[[example]]
name = "ble_scan"
path = "examples/ble_scan.rs"

[[example]]
name = "ble_secure_client"
path = "examples/ble_secure_client.rs"

[[example]]
name = "ble_secure_server"
path = "examples/ble_secure_server.rs"

[[example]]
name = "ble_server"
path = "examples/ble_server.rs"

[[example]]
name = "ble_start_stop"
path = "examples/ble_start_stop.rs"

[features]
debug = []
default = ["std"]
no_std = ["once_cell/critical-section", "esp-idf-svc/critical-section", "bstr/alloc"]
std = ["esp-idf-svc/std", "once_cell/std", "bstr/std"]

[lib]
name = "esp32_nimble"
path = "src/lib.rs"

[package]
authors = ["taks <857tn859@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["embedded", "hardware-support"]
description = "A wrapper for the ESP32 NimBLE Bluetooth stack."
documentation = "https://taks.github.io/esp32-nimble/esp32_nimble/index.html"
edition = "2021"
keywords = ["bluetooth", "ble", "esp32", "embedded", "async"]
license = "Apache-2.0"
name = "esp32-nimble"
readme = "README.md"
repository = "https://github.com/taks/esp32-nimble"
resolver = "2"
version = "0.10.0"

[profile.dev]
debug = 2
opt-level = "z"

[profile.release]
opt-level = "s"