Cargo Features
[dependencies]
spirit = { version = "0.4.21", default-features = false, features = ["ini", "json", "hjson", "yaml", "cfg-help", "suggestions", "color"] }
- default = cfg-help, color, json, suggestions, yaml
-
These default features are set whenever
spirit
is added without
somewhere in the dependency tree.default-features = false - ini
-
Enables ini of config ~0.11
- json default
-
Enables json of config ~0.11
- hjson
-
Enables hjson of config ~0.11
- yaml default
-
Enables yaml of config ~0.11
- cfg-help default = structdoc
- suggestions default
-
Enables suggestions of structopt
Due to a hack, we are using part of API that doesn't have the proper API guarantees. So make sure cargo update doesn't break stuff.
We should solve it eventually somehow. See the StructOptInternal. - color default
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.