Cargo Features
[dependencies]
vglang = { version = "0.1.3", default-features = false, features = ["binary", "serde", "svg"] }
- default = binary, serde, svg
-
These default features are set whenever
vglang
is added without
somewhere in the dependency tree.default-features = false - binary default = bytes
-
Affects
vglang::binary
… - serde default
- svg default = heck, log, xml_dom
-
Affects
vglang::svg
…
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.