Cargo Features
schema_analysis has no features set by default.
[dependencies]
schema_analysis = { version = "0.5.0", features = ["json_typegen", "schemars_integration"] }
- json_typegen = json_typegen_shared
-
Affects
targets::json_typegen
… - schemars_integration = schemars, serde_json
-
Affects
targets::schemars
…
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.
- schemars schemars_integration?
-
Enables schemars
Schemars integration allows the generation of json schemas.
- serde_json schemars_integration?
-
Enables serde_json
The following are the formats that have been tested.
-
Enables json_typegen_shared
json_typegen integration allows the generation of types in several languages and json schemas.