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 wheneverpolymer
is added without
somewhere in the dependency tree.default-features = false - 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.