Cargo Features
[dependencies]
format_serde_error = { version = "0.3.0", default-features = false, features = ["graphemes_support", "colored", "serde_json", "serde_yaml"] }
- default = colored, graphemes_support, serde_json, serde_yaml
-
These default features are set whenever
format_serde_error
is added without
somewhere in the dependency tree.default-features = false - graphemes_support default = unicode-segmentation
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.
- colored default
- serde_json default
- serde_yaml default
-
Enables serde_yaml ^0.8
- unicode-segmentation graphemes_support