Cargo Features

[dependencies]
esp_bno055 = { version = "0.1.8", default-features = false, features = ["std", "alloc", "pio", "nightly", "experimental", "embassy", "esp-idf-sys"] }
default = embassy, std

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

Enables native of esp-idf-svc

esp-idf-svc:

The next are propagated from esp-idf-sys via esp-idf-hal

std default = alloc

Enables binstart and std of esp-idf-svc

alloc std

Enables alloc of esp-idf-svc

pio

Enables pio of esp-idf-svc

nightly

Enables nightly of esp-idf-svc

experimental

Enables experimental of esp-idf-svc

embassy default

Enables critical-section, embassy-sync and embassy-time-driver of esp-idf-svc

Features from optional dependencies

esp-idf-sys implicit feature

Enables esp-idf-sys

esp-idf-sys をオプショナルに設定