Cargo Features

[dependencies]
as7331-rs = { version = "0.1.1", default-features = false, features = ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32s2", "esp32s3"] }
default = esp32c6

The esp32c6 feature is set by default whenever as7331-rs is added without default-features = false somewhere in the dependency tree.

esp32

Enables esp32 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-backtrace:

You must enable exactly one of the below features to support the correct chip:

esp32c2

Enables esp32c2 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-hal:

Target the ESP32-C2.

esp32c3

Enables esp32c3 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-hal:

Target the ESP32-C3.

esp32c6 default

Enables esp32c6 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-hal:

Target the ESP32-C6.

esp32h2

Enables esp32h2 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-hal:

Target the ESP32-H2.

esp32s2

Enables esp32s2 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-hal:

Target the ESP32-S2.

esp32s3

Enables esp32s3 of esp-backtrace ^0.11.0, esp-hal ^0.17.0, and esp-println

esp-hal:

Target the ESP32-S3.

as7331-rs has 8 features without comments.