Cargo Features
[dependencies]
dofigen = { version = "2.2.0-beta.1", default-features = false, features = ["cli", "json_schema", "permissive", "strict"] }
- default = cli, permissive
-
These default features are set whenever
dofigen
is added without
somewhere in the dependency tree.default-features = false - cli default = clap
-
Required by the binary
- json_schema = schemars, serde_json
-
Affects
commands::schema
,dofigen::generate_json_schema
… - permissive default
-
Affects
deserialize::ParsableStruct
,deserialize::OneOrMany
… - strict
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.