[package]
edition = "2021"
name = "doxa-macros"
version = "0.1.2"
authors = ["edmiester777"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for doxa: #[derive(ApiError)], #[derive(SseEvent)], and HTTP method shortcuts that delegate to utoipa::path."
homepage = "https://github.com/edmiester777/doxa"
readme = "README.md"
keywords = [
"axum",
"openapi",
"macros",
"utoipa",
"doxa",
]
categories = [
"web-programming::http-server",
"development-tools::procedural-macro-helpers",
]
license = "Apache-2.0"
repository = "https://github.com/edmiester777/doxa"
[features]
default = []
[lib]
name = "doxa_macros"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "api_error"
path = "tests/api_error.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "extractor_wrappers"
path = "tests/extractor_wrappers.rs"
[[test]]
name = "generic_wrapper_schemas"
path = "tests/generic_wrapper_schemas.rs"
[[test]]
name = "header_inference"
path = "tests/header_inference.rs"
[[test]]
name = "inference"
path = "tests/inference.rs"
[[test]]
name = "method_shortcuts"
path = "tests/method_shortcuts.rs"
[dependencies.axum]
version = "0.8"
features = ["json"]
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"extra-traits",
]
[dependencies.utoipa]
version = "5"
features = [
"macros",
"uuid",
"chrono",
]
[dev-dependencies.axum]
version = "0.8"
features = ["json"]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.futures-core]
version = "0.3"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.thiserror]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tower]
version = "0.5"
[dev-dependencies.utoipa]
version = "5"
features = [
"macros",
"uuid",
"chrono",
]
[dev-dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]