Cargo Features

[dependencies]
edgebadge = { version = "0.9.0", default-features = false, features = ["rt", "unproven", "usb", "math"] }
default = rt, unproven

ask the HAL to enable atsamd51j support

Enables samd51 and samd51j of atsamd-hal ^0.14

rt default = cortex-m-rt

Enables samd51j-rt of atsamd-hal ^0.14

unproven default

Enables unproven of atsamd-hal ^0.14

Affects edgebadge::buttons, pins::BatteryReader

usb = usb-device

Enables usb of atsamd-hal ^0.14

math = micromath

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

cortex-m-rt rt
micromath math?
usb-device usb?

Enables usb-device ^0.2