Cargo Features

onechatsocial-permissions has no features set by default.

[dependencies]
onechatsocial-permissions = { version = "0.6.21", features = ["bson", "serde", "schemas", "try-from-primitive"] }
bson

Enables bson

serde

Enables serde

Serialisation

schemas

Enables schemars

Spec Generation

try-from-primitive

Enables num_enum ^0.6.1