Cargo Features

[dependencies]
plot_icon = { version = "0.3.0", default-features = false, features = ["pix", "vec"] }
default = pix, vec

These default features are set whenever plot_icon is added without default-features = false somewhere in the dependency tree.

pix default = image, png

Affects circles::calculate_png_data, plot_icon::EMPTY_PNG, plot_icon::generate_png, plot_icon::generate_png_with_colors, plot_icon::generate_png_scaled_custom, plot_icon::generate_png_scaled_custom_with_colors, plot_icon::generate_png_scaled_default, plot_icon::IdenticonError

vec default = hex, svg

Affects circles::calculate_svg_data, plot_icon::generate_svg, plot_icon::generate_svg_with_colors

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.

hex vec
image pix

Enables image ^0.24.0

png pix
svg vec

Enables svg ^0.13.0