Cargo Features

[dependencies]
esp32-nimble = { version = "0.6.0", default-features = false, features = ["no_std", "std"] }
default = std

The std feature is set by default whenever esp32-nimble is added without default-features = false somewhere in the dependency tree.

no_std

Enables alloc of bstr and critical-section of esp-idf-hal and once_cell

once_cell:

Uses critical-section to implement sync and race modules. in #![no_std] mode. Please read critical-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.

esp32-nimble has 3 features without comments.