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 whenever lorawan-device is added without default-features = false somewhere in the dependency tree.

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 and CMAC 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 on embassy-time.

Enables embassy-time

serde

Enable serde serialization/deserialization for data structures.

Enables serde, serde of lorawan

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).