Cargo Features
[dependencies]
onechatsocial-models = { version = "0.6.21", default-features = false, features = ["serde", "schemas", "validator", "partials"] }
- default = partials, serde
-
These default features are set whenever
onechatsocial-models
is added without
somewhere in the dependency tree.default-features = false - serde default partials
-
Enables serde, serde of indexmap ^1.9.3 and onechatsocial-permissions
- schemas partials
-
Enables schemas of onechatsocial-permissions and schemars
Spec Generation
- validator
-
Enables validator ^0.16.0
Validation
- partials default = schemas, serde
-
Enables revolt_optional_struct
Serialisation