Cargo Features

[dependencies]
foundation-firmware = { version = "0.2.0", default-features = false, features = ["std", "binary"] }
default = binary, std

These default features are set whenever foundation-firmware is added without default-features = false somewhere in the dependency tree.

std default binary

Enables std of anyhow, optional faster-hex ^0.9, nom, and secp256k1

binary default = anyhow, clap, faster-hex, std

Enables global-context of secp256k1

Required by the binary

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.

clap binary
faster-hex binary

Enables faster-hex ^0.9

anyhow binary std