Cargo Features
mzsvg has no features set by default.
[dependencies]
mzsvg = { version = "0.3.0", features = ["png", "pdf"] }
- png = fontdb, resvg
-
Affects
chart::SVGCanvas.write_png
,chart::SVGCanvas.save_png
… - pdf = fontdb, svg2pdf
-
Affects
chart::SVGCanvas.write_pdf
,chart::SVGCanvas.save_pdf
…
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.
- resvg png?
-
Enables resvg ^0.42.0
- svg2pdf pdf?
-
Enables svg2pdf ^0.11.0
- fontdb pdf? png?
-
Enables fontdb ^0.18.0