Cargo Features

[dependencies]
sam4s_xplained_pro = { version = "0.1.3", default-features = false, features = ["rt", "panic_halt", "panic_abort", "panic_semihosting", "use_semihosting"] }
default = panic_semihosting, rt

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

rt default = cortex-m-rt
panic_halt = panic-halt
panic_abort = panic-abort
panic_semihosting default = panic-semihosting
use_semihosting

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.

cortex-m-rt rt

Enables cortex-m-rt ~0.6.12

panic-abort panic_abort?
panic-halt panic_halt?

Enables panic-halt ~0.2

panic-semihosting panic_semihosting

Enables panic-semihosting ~0.5