Cargo Features

[dependencies]
spirit-cfg-helpers = { version = "0.4.0", default-features = false, features = ["cfg-help", "json", "yaml"] }
default = cfg-help, json, yaml

These default features are set whenever spirit-cfg-helpers is added without default-features = false somewhere in the dependency tree.

cfg-help default = structdoc

Enables cfg-help of spirit

json default = serde_json
yaml default = serde_yaml

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_json json
serde_yaml yaml

Enables serde_yaml ~0.8

structdoc cfg-help