# 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 = "ockam_transport_ble" version = "0.97.0" authors = ["Ockam Developers"] build = false exclude = [ "DEVELOP.md", "LICENSE", ] publish = true autobins = false autoexamples = false autotests = false autobenches = false description = """ Bluetooth Low Energy (BLE) Transport for the Ockam Routing Protocol. """ homepage = "https://github.com/build-trust/ockam" readme = "README.md" keywords = [ "ockam", "crypto", "network", "bluetooth", "ble", ] categories = [ "cryptography", "asynchronous", "authentication", "embedded", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/build-trust/ockam/tree/develop/implementations/rust/ockam/ockam_transport_ble" [lib] name = "ockam_transport_ble" path = "src/lib.rs" [[example]] name = "04-routing-over-ble-transport-initiator" path = "examples/04-routing-over-ble-transport-initiator.rs" required-features = [ "std", "use_btleplug", ] [[example]] name = "05-secure-channel-over-ble-transport-initiator" path = "examples/05-secure-channel-over-ble-transport-initiator.rs" required-features = [ "std", "use_btleplug", ] [dependencies.atsame54_xpro] version = "0.6.0" optional = true [dependencies.bluenrg] version = "0.1.0" features = ["ms"] optional = true default-features = false [dependencies.bluetooth-hci] version = "0.1.0" features = ["version-4-1"] optional = true default-features = false [dependencies.btleplug] version = "0.11.5" optional = true [dependencies.embedded-hal] version = "1.0.0-rc" optional = true [dependencies.futures] version = "0.3.30" default-features = false [dependencies.heapless] version = "0.8.0" optional = true [dependencies.nb] version = "1.1.0" optional = true [dependencies.ockam_core] version = "^0.122.0" default-features = false [dependencies.ockam_node] version = "^0.135.0" default-features = false [dependencies.ockam_transport_core] version = "^0.99.0" default-features = false [dependencies.pic32-hal] version = "0.11.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.stm32-device-signature] version = "0.3.3" optional = true [dependencies.stm32f4xx-hal] version = "0.19.0" features = [ "rt", "stm32f407", ] optional = true [dependencies.stm32h7xx-hal] version = "0.16.0" features = [ "rt", "stm32h747cm7", ] optional = true [dependencies.tracing] version = "0.1" default-features = false [dependencies.uuid] version = "1.10.0" optional = true [dev-dependencies.ockam_identity] version = "^0.130.0" [dev-dependencies.ockam_vault] version = "^0.128.0" [features] alloc = [ "ockam_core/alloc", "ockam_node/alloc", "ockam_transport_core/alloc", ] atsame54 = [ "embedded-hal", "atsame54_xpro", ] default = [ "std", "use_btleplug", ] no_std = [ "ockam_core/no_std", "ockam_node/no_std", "ockam_transport_core/no_std", "heapless", "nb", ] pic32 = [ "embedded-hal", "pic32-hal", ] pic32mx1xxfxxxb = [ "pic32", "pic32-hal/pic32mx1xxfxxxb", ] pic32mx2xxfxxxb = [ "pic32", "pic32-hal/pic32mx2xxfxxxb", ] std = [ "ockam_core/std", "ockam_node/std", "ockam_transport_core/std", "tracing/default", "uuid", ] stm32f4 = [ "embedded-hal", "stm32f4xx-hal", ] stm32h7 = [ "embedded-hal", "stm32h7xx-hal", "stm32-device-signature/stm32h75x", ] use_bluetooth_hci = [ "bluetooth-hci", "bluenrg", ] use_btleplug = ["btleplug"] [target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies.riscv] version = "0.10.0" [target.'cfg(target_arch = "arm")'.dependencies.cortex-m] version = "0.7.7"