Cargo Features
[dependencies]
code-smore = { version = "0.1.33", default-features = false, features = ["audio", "pipewire", "gpio"] }
- default = audio, gpio
-
These default features are set whenever
code-smore
is added without
somewhere in the dependency tree.default-features = false - audio default = rodio
- pipewire
-
Enables pipewire
Affects
pipewire::ensure_pipewire
,pipewire::listen
… - gpio default = rppal
-
Affects
gpio::gpio_receive
…
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.