Cargo Features

[dependencies]
radio-sx128x = { version = "0.19.0", default-features = false, features = ["std", "defmt-debug", "poll-irq", "patch-unknown-state", "tests", "util", "defmt", "serde"] }
default = patch-unknown-state, serde, std, util

These default features are set whenever radio-sx128x is added without default-features = false somewhere in the dependency tree.

Enables hal-cp2130 and hal-linux of driver-pal

std default util = hex, thiserror

Enables mock of driver-pal, std of failure and radio

defmt-default defmt-trace defmt-debug
defmt-info defmt-warn defmt-error poll-irq
patch-unknown-state default
tests

Enables mock of driver-pal

util default = clap, crc16, driver-pal, humantime, std, tracing, tracing-subscriber

Enables hal of driver-pal, helpers of radio

Required by the sx128x-util binary

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

driver-pal default std tests? util
defmt implicit feature
crc16 util
hex std
humantime util
clap util
thiserror std

Enables thiserror ^1.0.30

serde default
tracing util
tracing-subscriber util