Cargo Features
mzsvg has no features set by default.
[dependencies]
mzsvg = { version = "0.2.0", features = ["png", "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