Cargo Features
[dependencies]
claptrap = { version = "0.3.0", default-features = false, features = ["schema", "doc_gen"] }
- default = schema
-
The
schemafeature is set by default wheneverclaptrapis added withoutsomewhere in the dependency tree.default-features = false - schema default = schemars
- doc_gen
-
Required by the gen_api_docs binary
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.