]> patrickod personal git archive - tincan.git/blob - rs-lorachat/Cargo.toml
specify usb,unproven as default features to stop CLI arg repetition
[tincan.git] / rs-lorachat / Cargo.toml
1 [package]
2 name = "rs-lorachat"
3 version = "0.1.0"
4 authors = ["Andy Isaacson <adi@hexapodia.org>"]
5 edition = "2018"
6
7 [dependencies]
8 feather_m0 = { version = "0.9.0", features = ["usb"] }
9 cortex-m = "0.6"
10 embedded-hal = "0.2.3"
11 cortex-m-rt = { version = "0.6.12", optional = true }
12 atsamd-hal = "0.12"
13 panic-halt = { version = "0.2", optional = true }
14 usb-device = { version = "0.2", optional = true }
15 usbd-serial = { version = "0.1", optional = true }
16
17 [dev-dependencies]
18 cortex-m-semihosting = "0.3"
19 heapless = "0.5"
20
21 [features]
22 default = ["rt", "atsamd-hal/samd21g", "panic_halt", "usb", "unproven"]
23 rt = ["cortex-m-rt", "atsamd-hal/samd21g-rt"]
24 panic_halt = ["panic-halt"]
25 usb = ["atsamd-hal/usb", "usb-device", "usbd-serial"]
26 unproven = ["atsamd-hal/unproven"]
27 # Enable pins for the radio on "RadioFruits" with RFM95, RFM96, RFM69
28 rfm = []