revolt-models 0.13.7

Revolt Backend: API Models
Documentation
# 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 = "revolt-models"
version = "0.13.7"
authors = ["Paul Makles <me@insrt.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Revolt Backend: API Models"
readme = false
license = "MIT"
repository = "https://github.com/stoatchat/stoatchat"
resolver = "3"

[features]
default = [
    "serde",
    "partials",
    "rocket",
]
partials = [
    "dep:revolt_optional_struct",
    "serde",
    "schemas",
    "utoipa",
]
rocket = ["dep:rocket"]
schemas = [
    "dep:schemars",
    "revolt-permissions/schemas",
]
serde = [
    "dep:serde",
    "revolt-permissions/serde",
    "indexmap/serde",
]
utoipa = ["dep:utoipa"]
validator = ["dep:validator"]

[lib]
name = "revolt_models"
path = "src/lib.rs"

[dependencies.indexmap]
version = "2.13.1"

[dependencies.iso8601-timestamp]
version = "0.2.10"
features = [
    "schema",
    "bson",
]

[dependencies.num_enum]
version = "0.6.1"

[dependencies.once_cell]
version = "1.9.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.revolt-config]
version = "0.13.7"

[dependencies.revolt-permissions]
version = "0.13.7"

[dependencies.revolt_optional_struct]
version = "0.2.0"
optional = true

[dependencies.rocket]
version = "0.5.1"
optional = true

[dependencies.schemars]
version = "0.8.8"
features = ["indexmap2"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.utoipa]
version = "4.2.3"
optional = true

[dependencies.validator]
version = "0.16"
features = ["derive"]
optional = true