Cargo Features

button-driver has no features set by default.

[dependencies]
button-driver = { version = "0.2.2", features = ["embassy", "embedded_hal_old", "esp", "std", "embedded_hal"] }
embassy

Enables embassy-time

embedded_hal_old

Enables unproven of embedded-hal ^0.2.7

esp

Backward compatibility. Previously esp-idf-hal did not support embedded-hal traits.

Enables embedded-hal

std
embedded_hal

Enables embedded-hal