Cargo Features

Rgb24 has no features set by default.

[dependencies]
rgb24 = { version = "0.3.1", features = ["serialize", "rand"] }
serialize = serde

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.

rand implicit feature

Enables rand

rand:

Random number generators and other randomness functionality

Affects rgb24::sample

serde serialize?