Cargo Features
[dependencies]
esp32-nimble = { version = "0.6.1", default-features = false, features = ["no_std", "std", "debug"] }
- default = std
-
The
std
feature is set by default wheneveresp32-nimble
is added without
somewhere in the dependency tree.default-features = false - no_std
-
Enables alloc of bstr and critical-section of esp-idf-hal and once_cell
once_cell:
Uses
critical-section
to implementsync
andrace
modules. in#![no_std]
mode. Please readcritical-section
docs carefully before enabling this feature. - std default
-
Enables std of bstr, esp-idf-hal, esp-idf-svc, and once_cell
once_cell:
Enables
once_cell::sync
module. - debug
esp32-nimble has 4 features without comments.