Cargo Features

[dependencies]
polymer = { version = "0.2.0", default-features = false, features = ["itm", "semihosting", "log_off", "log_trace", "log_debug", "log_info", "log_warn", "log_error"] }
default = log_off

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

itm = panic-itm
semihosting = panic-semihosting

Enables semihosting of cortex-m-logger

log_off default

Enables release_max_level_off of log

log_trace

Enables release_max_level_trace of log

log_debug

Enables release_max_level_debug of log

log_info

Enables release_max_level_info of log

log_warn

Enables release_max_level_warn of log

log_error

Enables release_max_level_error of log

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.

panic-semihosting semihosting?

Enables panic-semihosting ^0.5.4

panic-itm itm?