Cargo Features
[dependencies]
tinyvg = { version = "0.2.1", default-features = false, features = ["render-png"] }
- default = render-png
-
The
render-png
feature is set by default whenevertinyvg
is added without
somewhere in the dependency tree.default-features = false - render-png default = cairo-rs, piet-cairo
-
Affects
render_helper::render
…
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.
- cairo-rs render-png
-
Enables cairo-rs ^0.14.0
- piet-cairo render-png
-
Enables piet-cairo ^0.5.0