3251a21fb7
This temporarily removes support for the async UART trait, since it's not yet in embedded-hal-async.
39 lines
1.8 KiB
TOML
39 lines
1.8 KiB
TOML
[package]
|
|
name = "embassy-lora"
|
|
version = "0.1.0"
|
|
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
|
|
edition = "2018"
|
|
|
|
[package.metadata.embassy_docs]
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-lora-v$VERSION/embassy-lora/src/"
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-lora/src/"
|
|
features = ["time", "defmt"]
|
|
flavors = [
|
|
{ name = "sx127x", target = "thumbv7em-none-eabihf", features = ["sx127x", "embassy-stm32/stm32wl55jc-cm4", "embassy-stm32/time-driver-any"] },
|
|
{ name = "stm32wl", target = "thumbv7em-none-eabihf", features = ["stm32wl", "embassy-stm32/stm32wl55jc-cm4", "embassy-stm32/time-driver-any"] },
|
|
]
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
sx127x = []
|
|
stm32wl = ["embassy-stm32", "embassy-stm32/subghz"]
|
|
time = []
|
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
log = { version = "0.4.14", optional = true }
|
|
|
|
embassy = { version = "0.1.0", path = "../embassy", default-features = false }
|
|
embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false, optional = true }
|
|
embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
|
|
embedded-hal-async = { version = "0.1.0-alpha.0" }
|
|
embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common", default-features = false }
|
|
futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] }
|
|
embedded-hal = { version = "0.2", features = ["unproven"] }
|
|
bit_field = { version = "0.10" }
|
|
|
|
lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] }
|
|
lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false }
|