# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "onechatsocial-models" version = "0.6.16" authors = ["Paul Makles "] description = "Revolt Backend: API Models" license = "AGPL-3.0-or-later" [dependencies.indexmap] version = "1.9.3" [dependencies.iso8601-timestamp] version = "0.2.11" features = [ "schema", "bson", ] [dependencies.once_cell] version = "1.17.1" [dependencies.onechatsocial-config] version = "0.6.16" [dependencies.onechatsocial-permissions] version = "0.6.16" [dependencies.regex] version = "1" [dependencies.revolt_optional_struct] version = "0.2.0" optional = true [dependencies.schemars] version = "0.8.8" features = ["indexmap1"] optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.validator] version = "0.16.0" features = ["derive"] optional = true [features] default = [ "serde", "partials", ] partials = [ "dep:revolt_optional_struct", "serde", "schemas", ] schemas = [ "dep:schemars", "onechatsocial-permissions/schemas", ] serde = [ "dep:serde", "onechatsocial-permissions/serde", "indexmap/serde", ] validator = ["dep:validator"]