# 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.90.0"
name = "facet-urlencoded"
version = "0.46.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "URL-encoded form data serialization and deserialization for Facet types"
homepage = "https://facet.rs"
readme = "README.md"
keywords = [
    "urlencoded",
    "form",
    "serialization",
    "deserialization",
    "facet",
]
categories = [
    "encoding",
    "parsing",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet-urlencoded"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[package.metadata."docs.rs"]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[features]
axum = [
    "dep:axum-core",
    "dep:http",
    "dep:http-body-util",
]
default = []

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

[dependencies.axum-core]
version = "0.5"
optional = true
default-features = false

[dependencies.facet-core]
version = "0.46.2"

[dependencies.facet-reflect]
version = "0.46.2"

[dependencies.form_urlencoded]
version = "1.2.1"

[dependencies.http]
version = "^1.4.0"
optional = true

[dependencies.http-body-util]
version = "0.1"
optional = true
default-features = false

[dependencies.log]
version = "^0.4.29"
features = ["std"]

[dev-dependencies]

[lints.clippy]
disallowed_methods = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(facet_no_doc)",
    "cfg(kani)",
]
