Cargo Features
[dependencies]
bmfont = { version = "0.3.3", default-features = false, features = ["parse-error", "serde", "serde_json"] }
- default = parse-error
-
The
parse-error
feature is set by default wheneverbmfont
is added without
somewhere in the dependency tree.default-features = false - parse-error default
-
Affects
bmfont::Parse
…
Features from optional dependencies
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- serde_json implicit feature
-
Enables serde_json
This is a dev-dependency, but those cannot be optional, so it's included here and not built by default. It is used with the serde feature unit tests.