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 whenever unicorn_hat_hd_2 is added without default-features = false somewhere in the dependency tree.

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