# 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 = "nrf-softdevice" version = "0.1.0" authors = ["Dario Nieuwenhuis "] description = "Rust interface to nRF SoftDevice" keywords = [ "arm", "cortex-m", "nrf52", "nrf-softdevice", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/embassy-rs/nrf-softdevice" [package.metadata.docs.rs] features = [ "nrf52840", "s140", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi", "ble-sec", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = ["thumbv7em-none-eabi"] [package.metadata.embassy_docs] src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-mbr-v$VERSION/nrf-softdevice/src/" src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice/src/" target = "thumbv7em-none-eabi" [[package.metadata.embassy_docs.flavors]] features = [ "nrf52832", "s112", "ble-peripheral", "ble-gatt-server", "ble-gatt-client", "ble-rssi", "ble-sec", ] name = "s112" [[package.metadata.embassy_docs.flavors]] features = [ "nrf52840", "s113", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi", "ble-sec", ] name = "s113" [[package.metadata.embassy_docs.flavors]] features = [ "nrf52833", "s122", "ble-central", "ble-gatt-server", "ble-gatt-client", "ble-rssi", ] name = "s122" [[package.metadata.embassy_docs.flavors]] features = [ "nrf52832", "s132", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi", "ble-sec", ] name = "s132" [[package.metadata.embassy_docs.flavors]] features = [ "nrf52840", "s140", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi", "ble-sec", ] name = "s140" [dependencies.cortex-m] version = "0.7.2" [dependencies.cortex-m-rt] version = ">=0.6.15,<0.8" [dependencies.critical-section] version = "1.0" optional = true [dependencies.defmt] version = "0.3" optional = true [dependencies.embassy-futures] version = "0.1.1" [dependencies.embassy-sync] version = "0.5.0" [dependencies.embedded-storage] version = "0.3.1" [dependencies.embedded-storage-async] version = "0.4.1" [dependencies.fixed] version = "1.5.0" [dependencies.futures] version = "0.3.17" default-features = false [dependencies.heapless] version = "0.8.0" [dependencies.log] version = "0.4.11" optional = true [dependencies.nrf-softdevice-macro] version = "0.1.0" [dependencies.nrf-softdevice-s112] version = "0.1.1" optional = true [dependencies.nrf-softdevice-s113] version = "0.1.1" optional = true [dependencies.nrf-softdevice-s122] version = "0.1.1" optional = true [dependencies.nrf-softdevice-s132] version = "0.1.1" optional = true [dependencies.nrf-softdevice-s140] version = "0.1.1" optional = true [dependencies.nrf52805-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.nrf52810-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.nrf52811-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.nrf52820-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.nrf52832-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.nrf52833-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.nrf52840-pac] version = "0.12.0" features = ["rt"] optional = true [dependencies.num_enum] version = "0.7.0" default-features = false [features] ble-central = [] ble-gatt = [] ble-gatt-client = ["ble-gatt"] ble-gatt-server = ["ble-gatt"] ble-l2cap = [] ble-l2cap-credit-workaround = [] ble-peripheral = [] ble-rssi = [] ble-sec = [] critical-section-impl = ["critical-section/restore-state-bool"] evt-max-size-256 = [] evt-max-size-512 = [] nrf52805 = ["nrf52805-pac"] nrf52810 = ["nrf52810-pac"] nrf52811 = ["nrf52811-pac"] nrf52820 = ["nrf52820-pac"] nrf52832 = ["nrf52832-pac"] nrf52833 = ["nrf52833-pac"] nrf52840 = ["nrf52840-pac"] s112 = ["nrf-softdevice-s112"] s113 = ["nrf-softdevice-s113"] s122 = ["nrf-softdevice-s122"] s132 = ["nrf-softdevice-s132"] s140 = ["nrf-softdevice-s140"] usable-from-interrupts = []