Cargo Features
[dependencies]
lorawan-device = { version = "0.12.2", default-features = false, features = ["all-regions", "default-crypto", "defmt", "embassy-time", "serde", "region-as923-1", "region-as923-2", "region-as923-3", "region-as923-4", "region-au915", "region-eu433", "region-eu868", "region-in865", "region-us915"] }
- default = all-regions
-
The
all-regions
feature is set by default wheneverlorawan-device
is added without
somewhere in the dependency tree.default-features = false - all-regions default = region-as923-1, region-as923-2, region-as923-3, region-as923-4, region-au915, region-eu433, region-eu868, region-in865, region-us915
- default-crypto
-
Use pure Rust implementations of
AES
andCMAC
for the LoRaWAN crypto layer.Enables default-crypto of lorawan
- defmt
-
Use
defmt
for logging.Enables defmt, defmt of lora-modulation and lorawan
- embassy-time
-
Provide an
async_device::Timer
impl based onembassy-time
.Enables embassy-time
- serde
-
Enable
serde
serialization/deserialization for data structures. - region-as923-1 all-regions
-
Enable support for AS923-1 region (by default all regions are enabled).
- region-as923-2 all-regions
-
Enable support for AS923-2 region (by default all regions are enabled).
- region-as923-3 all-regions
-
Enable support for AS923-3 region (by default all regions are enabled).
- region-as923-4 all-regions
-
Enable support for AS923-4 region (by default all regions are enabled).
- region-au915 all-regions
-
Enable support for AU915 region (by default all regions are enabled).
- region-eu433 all-regions
-
Enable support for EU433 region (by default all regions are enabled).
- region-eu868 all-regions
-
Enable support for EU868 region (by default all regions are enabled).
- region-in865 all-regions
-
Enable support for IN865 region (by default all regions are enabled).
- region-us915 all-regions
-
Enable support for US915 region (by default all regions are enabled).