Cargo Features

ColorGradient has no features set by default.

[dependencies]
color-gradient = { version = "0.1.3", features = ["serde", "rand", "svg", "image"] }
serde

Enables serde, serde of color-core

rand

Enables rand, rand of color-core

Features from optional dependencies

svg implicit feature

Enables svg ^0.13.1

svg:

The package provides an SVG composer and parser

image implicit feature

Enables image ^0.24.6

image:

Imaging library. Provides basic image processing and encoders/decoders for common image formats.