Cargo Features
[dependencies]
infrared = { version = "0.14.2", default-features = false, features = ["embedded", "nec", "rc5", "rc6", "sbp", "denon", "remotes", "defmt", "log"] }
- default = denon, embedded, nec, rc5, rc6, remotes, sbp
-
These default features are set whenever
infrared
is added without
somewhere in the dependency tree.default-features = false - embedded default = embedded-hal, fugit
- nec default
-
Affects
protocol::nec
,remotecontrol::nec
… - rc5 default
-
Affects
protocol::rc5
,remotecontrol::rc5
… - rc6 default
-
Affects
protocol::rc6
,remotecontrol::rc6
… - sbp default
-
Affects
protocol::sbp
,remotecontrol::sbp
… - denon default
-
Affects
protocol::denon
… - remotes default
-
Affects
infrared::remotecontrol
…
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.
- embedded-hal embedded
-
Enables embedded-hal ^0.2.4
- defmt implicit feature
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust
- fugit embedded