Cargo Features

[dependencies]
soil_moisture_hal = { version = "0.1.4", default-features = false, features = ["std", "alloc", "all", "pio", "hal", "nightly", "experimental", "embassy"] }
default = hal

esp-idf-sys/libstart

Enables alloc_handler, native and panic_handler of esp-idf-sys ^0.33

std all? = alloc

Enables binstart and std of esp-idf-sys ^0.33, std of optional embedded-svc ^0.25, optional esp-idf-hal ^0.41, and optional esp-idf-svc ^0.46

alloc std?

Enables alloc of optional embedded-svc ^0.25, optional esp-idf-hal ^0.41, and optional esp-idf-svc ^0.46

all = embassy, experimental, nightly, std
pio

Enables pio of esp-idf-sys ^0.33

hal default = embedded-svc, esp-idf-hal, esp-idf-svc
nightly all?

Future: "esp-idf-hal?/nightly"

Enables nightly of optional embedded-svc ^0.25 and optional esp-idf-svc ^0.46

experimental all?

Enables experimental of optional embedded-svc ^0.25 and optional esp-idf-svc ^0.46

embassy all?

Enables critical-section, edge-executor and embassy-sync of optional esp-idf-hal ^0.41, embassy-time-driver and embassy-time-isr-queue of optional esp-idf-svc ^0.46

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.

esp-idf-hal hal

Enables esp-idf-hal ^0.41

esp-idf-svc hal

Enables esp-idf-svc ^0.46

embedded-svc hal

Enables embedded-svc ^0.25