# 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 = "axum-controller"
version = "0.4.1"
authors = ["Tristan Druyen <ek36g2vcc@mozmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helper macro's for better readability of axum handlers"
homepage = "https://git.vlt81.de/vault81/axum-controller"
readme = "README.md"
keywords = [
    "axum",
    "controller",
    "macro",
    "routing",
]
categories = ["web-programming"]
license = "AGPL-3.0-or-later"
repository = "https://git.vlt81.de/vault81/axum-controller"

[lib]
name = "axum_controller"
path = "src/lib.rs"
proc-macro = true

[[example]]
name = "controller"
path = "examples/controller.rs"

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

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

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
]

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.axum-typed-routing]
version = "0.4"

[dev-dependencies.macrotest]
version = "1.2.0"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

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