# 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.89.0"
name = "facet-axum"
version = "0.32.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axum integration for Facet - extractors and responses using Facet's serialization"
readme = "README.md"
keywords = [
    "axum",
    "web",
    "json",
    "serialization",
    "facet",
]
categories = [
    "web-programming",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet"

[features]
all = [
    "json",
    "form",
    "yaml",
    "toml",
    "xml",
    "kdl",
    "msgpack",
    "postcard",
]
ci = []
default = [
    "json",
    "form",
]
form = ["facet-urlencoded/axum"]
json = ["facet-json/axum"]
kdl = ["facet-kdl/axum"]
msgpack = ["facet-msgpack/axum"]
postcard = ["facet-postcard/axum"]
toml = ["facet-toml/axum"]
xml = ["facet-xml/axum"]
yaml = ["facet-yaml/axum"]

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

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

[dependencies.facet-json]
version = "0.32.2"
optional = true

[dependencies.facet-kdl]
version = "0.32.2"
optional = true

[dependencies.facet-msgpack]
version = "0.32.2"
optional = true

[dependencies.facet-postcard]
version = "0.32.2"
optional = true

[dependencies.facet-toml]
version = "0.32.2"
optional = true

[dependencies.facet-urlencoded]
version = "0.32.2"
optional = true

[dependencies.facet-xml]
version = "0.32.2"
optional = true

[dependencies.facet-yaml]
version = "0.32.2"
optional = true

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

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
