Cargo Features

[dependencies]
ezel = { version = "0.0.1", default-features = false, features = ["png", "svg", "gg", "advise"] }
default = advise, png, svg

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

png default

Enables png of piet ^0.5.0 and piet-common ^0.5.0

Affects ezel::Renderable.draw_to_png, ezel::Renderable.draw_to_png_scaled

svg default = piet-svg

Affects ezel::Renderable.draw_to_svg, ezel::Renderable.draw_to_svg_buffer

gg

optional features gg = grammar of graphics. provides ezel::gg.

advise default

report possibly incorrect usages in stderr

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.

piet-svg svg

Enables piet-svg ^0.5.0