Cargo Features

[dependencies]
yeelight = { version = "0.4.1", default-features = false, features = ["full", "from-str", "discover", "cli"] }
default = full

The full feature is set by default whenever yeelight is added without default-features = false somewhere in the dependency tree.

full default = cli, discover, from-str
from-str full = itertools

Affects yeelight::ParseError

discover cli? full

Affects yeelight::discover

cli full = discover, structopt

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.

itertools from-str?

Enables itertools ^0.10.3

structopt cli?