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
somewhere in the dependency tree.default-features = false 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.