[package] name = "quectel-bg77" description = "Driver for Quectel's BG77 and BG770 eMTC and NB-IoT Modems" version = "0.2.2" authors = [ "Fraunhofer IML Embedded Rust Group " ] repository = "https://git.openlogisticsfoundation.org/silicon-economy/libraries/serum/quectel-bg77" edition = "2018" license = "OLFL-1.3" keywords = ["bg77", "quectel", "no_std"] categories = ["embedded", "hardware-support", "no-std"] [features] # Choose one of the supported modems bg77 = [] bg770 = [] # Choose one of the supported boards (only for examples) sensing_puck = ["bg77"] motion2se = ["bg770"] # Allows access to the underlying serial (for testing, debugging, development, custom commands) direct-serial-access = [] [dependencies] embedded-hal = "0.2.4" heapless = "0.7.3" log = "0.4.14" nb = "1.0.0" embedded-nal = "0.6.0" try-ascii = "1.0.0" enumflags2 = "0.7.1" [dev-dependencies] void = { version = "1.0.2", default-features = false } inverted-pin = "0.2.0" # dependencies for tests and doc tests (exclude from examples) [target.'cfg(any(windows, unix))'.dev-dependencies] embedded-hal-mock = "0.8" # dev-dependencies for running the examples on an stm32l4x2 MCU (exclude from tests) [target.'cfg(not(any(windows, unix)))'.dev-dependencies] stm32l4xx-hal = { git = "https://github.com/stm32-rs/stm32l4xx-hal", rev = "bf2ded1fcabe782168d132500d95f9bd1acf48c1", features = ["stm32l452", "rt"] } cortex-m = "0.7.2" cortex-m-rt = "0.6.13" rtt-target = { version = "0.3.0", features = ["cortex-m"] } panic-probe = { version = "0.2.0", features = ["print-rtt"] }