Cargo Features
[dependencies]
unicorn_hat_hd_2 = { version = "0.4.1", default-features = false, features = ["hardware", "fake-hardware"] }
- default = hardware
-
The
hardware
feature is set by default wheneverunicorn_hat_hd_2
is added without
somewhere in the dependency tree.default-features = false - hardware default = rppal
-
Affects
unicorn_hat_hd_2::UnicornHatHd
… - fake-hardware = ansi_term
-
Affects
unicorn_hat_hd_2::UnicornHatHd
…
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.
- ansi_term fake-hardware?
- rppal hardware
-
Enables rppal ^0.13.1