Cargo Features
[dependencies]
wavedrom = { version = "0.1.0", default-features = false, features = ["embed_font", "skins", "json5", "serde_json"] }
- default = embed_font, json5, skins
-
These default features are set whenever
wavedrom
is added without
somewhere in the dependency tree.default-features = false - embed_font default
-
Enables ttf-parser ^0.19.0
- skins default = serde
-
Affects
wavedrom::skin
… - json5 default = serde
-
Enables json5
- serde_json = serde
-
Enables serde_json
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.
- serde json5 serde_json? skins
-
Affects
wavedrom::wavejson
…