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