Cargo Features

[dependencies]
driver-pal = { version = "0.9.0", default-features = false, features = ["ffi", "utils", "hal", "hal-cp2130", "hal-linux", "mock"] }
default = hal, hal-cp2130, hal-linux, mock

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

ffi = libc

Affects driver-pal::ffi

utils = hal
hal default utils? = clap, serde, simplelog, toml

Affects driver-pal::hal

hal-cp2130 default = driver-cp2130

Affects hal::cp2130

hal-linux default = linux-embedded-hal

Affects hal::linux

mock default

Affects driver-pal::mock

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.

libc ffi?
serde hal
toml hal
clap hal
simplelog hal
linux-embedded-hal hal-linux
driver-cp2130 hal-cp2130