# 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 = "elm-client-gen-http"
version = "0.2.2"
authors = ["Josh Burgess"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP endpoint metadata for elm-client-gen. Pairs with #[elm_endpoint] to register handlers for Elm request-function generation."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshburgess/elm-client-gen"

[features]
axum = ["dep:axum"]
axum-extra = [
    "dep:axum-extra",
    "axum",
]
default = ["derive"]
derive = ["dep:elm-client-gen-derive"]
uuid = ["dep:uuid"]

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

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

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

[dependencies.axum-extra]
version = "0.7"
features = ["query"]
optional = true

[dependencies.elm-client-gen-core]
version = "0.2.2"
default-features = false

[dependencies.elm-client-gen-derive]
version = "0.2.2"
optional = true

[dependencies.inventory]
version = "0.3"

[dependencies.uuid]
version = "1"
optional = true

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

[dev-dependencies.elm-client-gen-core]
version = "0.2.2"
features = ["derive"]
default-features = false

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