Cargo Features

[dependencies]
heartbeat-watchdog = { version = "0.2.0", default-features = false, features = ["std", "gpio", "embassy", "embassy-sync"] }
default = std

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

std default

Enables async-io, rtsc, std of thiserror and std of portable-atomic

portable-atomic:

Use std.

Affects io::udp

gpio

Enables gpio-cdev

Affects io::gpio

embassy

Enables embassy-sync and embassy-time

Affects heartbeat-watchdog::EmbassyStateChannel

embassy-sync

Enables embassy-sync