Cargo Features

[dependencies]
stm32cubeprogrammer = { version = "0.1.0", default-features = false, features = ["ihex", "validations", "hardware_tests", "serde"] }
default = validations

The validations feature is set by default whenever stm32cubeprogrammer is added without default-features = false somewhere in the dependency tree.

ihex validations

Adds support for parsing ihex files

Enables ihex

validations default = ihex

Adds support for input validations (e.g. if a file is indeed a hex file, or it the mcu supports the FUS)

hardware_tests

Feature to enable tests which require external hardware (probe + target)

serde

Enables serde