[package] name = "nrfxlib-sys" version = "2.7.1" authors = [ "Jonathan 'theJPster' Pallant ", "42 Technology Ltd ", "Dion Dokter " ] edition = "2021" description = "Rust bindings to the Nordic nRF91* Socket Library." readme = "README.md" license-file = "LICENCE.md" repository = "https://github.com/nrf-rs/nrfxlib-sys" # The nrfxlib folder is quite large, so only include the pieces we need include = [ "src/**", "include/**", "build.rs", "wrapper.h", "*.md", "third_party/nordic/nrfxlib/nrf_modem/lib/cellular/nrf9160/hard-float/libmodem.a", "third_party/nordic/nrfxlib/nrf_modem/lib/cellular/nrf9120/hard-float/libmodem.a", "third_party/nordic/nrfxlib/nrf_modem/include/**", "third_party/nordic/nrfxlib/nrf_modem/license.txt", "third_party/nordic/nrfxlib/nrf_modem/README.rst", "third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/include/**", "third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/license.txt", "third_party/nordic/nrfxlib/crypto/nrf_cc310_mbedcrypto/include/**", "third_party/nordic/nrfxlib/crypto/nrf_cc310_mbedcrypto/license.txt", "third_party/nordic/nrfxlib/crypto/nrf_oberon/lib/cortex-m33/hard-float/**", "third_party/nordic/nrfxlib/crypto/nrf_oberon/include/**", "third_party/nordic/nrfxlib/crypto/nrf_oberon/license.txt", ] [dependencies] [build-dependencies] regex = "1" bindgen = "0.66.1" llvm-tools = { version = "0.1.1", optional = true } [features] default = ["llvm-objcopy"] arm-none-eabi-objcopy = [] llvm-objcopy = ["dep:llvm-tools"] nrf9160 = [] nrf9151 = ["nrf9120"] nrf9161 = ["nrf9120"] # The nrf9120 is the part number of the SoC internal to the nrf9151 and nrf9161 SiPs nrf9120 = []