# 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 = "by-types"
version = "0.3.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Biyard data types"
readme = false
keywords = [
    "axum",
    "datatypes",
    "api",
]
license = "Apache-2.0"
repository = "https://github.com/biyard/rust-sdk/tree/main/packages/by-types"

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

[dependencies.aide]
version = "0.14.0"
features = [
    "axum",
    "axum-query",
    "axum-extra",
    "axum-extra-headers",
    "axum-extra-query",
    "axum-json",
    "swagger",
    "redoc",
    "scalar",
    "macros",
]
optional = true

[dependencies.axum]
version = "0.8.1"
optional = true

[dependencies.reqwest]
version = "0.12.12"

[dependencies.schemars]
version = "0.8.10"
features = ["uuid1"]
optional = true

[dependencies.serde]
version = "1.0.217"
features = [
    "default",
    "derive",
]

[dependencies.sqlx]
version = "0.8.*"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.validator]
version = "0.20.0"

[features]
server = [
    "aide",
    "axum",
    "schemars",
    "sqlx",
]
