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 default-features = false somewhere in the dependency tree.

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.

serde_json json_schema?
clap cli
schemars json_schema?