Cargo Features

[dependencies]
rbd_dimmer = { version = "0.2.0", default-features = false, features = ["std", "alloc", "hal"] }
default = hal, std

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

Enables native of esp-idf-sys

std default = alloc

Enables binstart and std of esp-idf-sys, std of optional embedded-svc, optional esp-idf-hal, and optional esp-idf-svc

alloc std

Enables alloc of optional embedded-svc, optional esp-idf-hal, and optional esp-idf-svc

hal default = embedded-svc, esp-idf-hal, esp-idf-svc

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
esp-idf-svc hal
embedded-svc hal