# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "esp32-nimble" version = "0.8.2" authors = ["taks <857tn859@gmail.com>"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A wrapper for the ESP32 NimBLE Bluetooth stack." documentation = "https://taks.github.io/esp32-nimble/esp32_nimble/index.html" readme = "README.md" keywords = [ "bluetooth", "ble", "esp32", "embedded", "async", ] categories = [ "embedded", "hardware-support", ] license = "Apache-2.0" repository = "https://github.com/taks/esp32-nimble" resolver = "2" [profile.dev] opt-level = "z" debug = 2 [profile.release] opt-level = "s" [lib] name = "esp32_nimble" path = "src/lib.rs" [[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_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" [dependencies.bitflags] version = "2.4.1" [dependencies.bstr] version = "1.8.0" default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.embassy-sync] version = "0.6" [dependencies.esp-idf-svc] version = "0.49" features = [ "alloc", "embassy-sync", ] default-features = false [dependencies.heapless] version = "0.8.0" [dependencies.log] version = "0.4" default-features = false [dependencies.num_enum] version = "0.7" default-features = false [dependencies.once_cell] version = "1.19.0" default-features = false [dependencies.uuid] version = "1" features = ["macro-diagnostics"] default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.esp-idf-svc] version = "0.49" [build-dependencies.anyhow] version = "1" [build-dependencies.embuild] version = "0.32" [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", ]