# 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 = "2024"
rust-version = "1.96"
name = "nidus-openapi"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAPI route metadata collection and document rendering helpers for Nidus applications."
homepage = "https://vicotrbb.github.io/nidus/"
readme = false
keywords = [
    "framework",
    "axum",
    "di",
    "http",
    "backend",
]
categories = [
    "web-programming::http-server",
    "asynchronous",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vicotrbb/nidus"
resolver = "2"

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.nidus-http]
version = "1.0.1"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.utoipa]
version = "5"

[dev-dependencies.http]
version = "1"

[dev-dependencies.nidus-testing]
version = "1.0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
]
