Cargo Features
[dependencies]
vsvg = { version = "0.5.0", default-features = false, features = ["puffin", "whiskers-widgets", "egui", "geo", "glam"] }
- default = geo
-
The
geo
feature is set by default whenevervsvg
is added without
somewhere in the dependency tree.default-features = false - puffin
-
Enables puffin
- whiskers-widgets
-
Enables egui ^0.27.2 and whiskers-widgets
whiskers-widgets:
optional support for whiskers widgets
Affects
vsvg::widgets
… - egui
-
Enables egui ^0.27.2
Affects
vsvg::ui
…
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.