# 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 = "doxa-docs"
version = "0.1.3"
authors = ["edmiester777"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic OpenAPI documentation and Scalar UI hosting for axum. Built on utoipa + utoipa-axum with minimal handler attributes and in-memory spec serving."
homepage = "https://github.com/edmiester777/doxa"
readme = "README.md"
keywords = [
    "axum",
    "openapi",
    "documentation",
    "scalar",
    "utoipa",
]
categories = [
    "web-programming::http-server",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/edmiester777/doxa"

[features]
default = [
    "docs-scalar",
    "macros",
]
docs-scalar = []
macros = ["dep:doxa-macros"]

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

[[test]]
name = "sse_openapi"
path = "tests/sse_openapi.rs"

[dependencies.axum]
version = "0.8"
features = ["json"]

[dependencies.bytes]
version = "1"

[dependencies.doxa-macros]
version = "0.1.3"
optional = true

[dependencies.futures-core]
version = "0.3"

[dependencies.paste]
version = "1"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
features = [
    "macros",
    "uuid",
    "chrono",
]

[dependencies.utoipa-axum]
version = "0.2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
    "derive",
]

[dev-dependencies.thiserror]
version = "2"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
