Cargo Features

itm-decode = { version = "0.6.1", default-features = false, features = ["bin", "serde"] }
default = bin

The bin feature is set by default whenever itm-decode is added without default-features = false somewhere in the dependency tree.

bin default = anyhow, structopt
serde = serde_crate

Affects itm-decode::cortex_m.serde

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.

anyhow bin

Enables anyhow

only required by itm-decode executable

structopt bin
serde_crate serde?

Enables serde