axum-valid 0.25.0

Provides validation extractors for your Axum application, allowing you to validate data using validator, garde, validify or all of them.
Documentation
# 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"
rust-version = "1.88"
name = "axum-valid"
version = "0.25.0"
authors = ["GengTeng <me@gteng.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides validation extractors for your Axum application, allowing you to validate data using validator, garde, validify or all of them."
homepage = "https://github.com/gengteng/axum-valid"
documentation = "https://docs.rs/axum-valid"
readme = "README.md"
keywords = [
    "axum",
    "validator",
    "extractor",
    "garde",
    "validify",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/gengteng/axum-valid"

[package.metadata.docs.rs]
features = [
    "full",
    "aide",
]

[features]
422 = []
aide = ["dep:aide"]
all_extra_types = [
    "extra",
    "typed_header",
    "extra_typed_path",
    "extra_query",
    "extra_form",
    "extra_protobuf",
]
all_types = [
    "json",
    "form",
    "query",
    "msgpack",
    "yaml",
    "xml",
    "toml",
    "sonic",
    "cbor",
    "all_extra_types",
    "typed_multipart",
]
basic = [
    "json",
    "form",
    "query",
]
cbor = [
    "dep:axum-serde",
    "axum-serde/cbor",
]
default = [
    "basic",
    "validator",
]
extra = [
    "dep:axum-extra",
    "axum-extra/cached",
    "axum-extra/with-rejection",
]
extra_form = [
    "extra",
    "axum-extra/form",
]
extra_protobuf = [
    "extra",
    "axum-extra/protobuf",
]
extra_query = [
    "extra",
    "axum-extra/query",
]
extra_typed_path = [
    "extra",
    "axum-extra/typed-routing",
]
form = ["axum/form"]
full = [
    "full_validator",
    "full_garde",
    "full_validify",
]
full_garde = [
    "garde",
    "all_types",
    "422",
    "into_json",
]
full_validator = [
    "validator",
    "all_types",
    "422",
    "into_json",
]
full_validify = [
    "validify",
    "all_types",
    "422",
    "into_json",
]
garde = ["dep:garde"]
into_json = [
    "json",
    "dep:serde",
    "garde?/serde",
]
json = ["axum/json"]
msgpack = [
    "dep:axum-serde",
    "axum-serde/msgpack",
]
query = ["axum/query"]
sonic = [
    "dep:axum-serde",
    "axum-serde/sonic",
]
toml = [
    "dep:axum-serde",
    "axum-serde/toml",
]
typed_header = [
    "extra",
    "axum-extra/typed-header",
]
typed_multipart = ["dep:axum_typed_multipart"]
validator = ["dep:validator"]
validify = ["dep:validify"]
xml = [
    "dep:axum-serde",
    "axum-serde/xml",
]
yaml = [
    "dep:axum-serde",
    "axum-serde/yaml",
]

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

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

[dependencies.aide]
version = "0.15.0"
optional = true

[dependencies.axum]
version = "0.8"
default-features = false

[dependencies.axum-extra]
version = "0.12"
optional = true
default-features = false

[dependencies.axum-serde]
version = "0.10.0"
optional = true

[dependencies.axum_typed_multipart]
version = "0.16.6"
optional = true

[dependencies.garde]
version = "0.23.0"
optional = true

[dependencies.serde]
version = "1.0.219"
optional = true

[dependencies.validator]
version = "0.20.0"
optional = true

[dependencies.validify]
version = "2.0.0"
optional = true

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

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

[dev-dependencies.ciborium]
version = "0.2"

[dev-dependencies.garde]
version = "0.23.0"
features = [
    "serde",
    "derive",
]

[dev-dependencies.mime]
version = "0.3"

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

[dev-dependencies.prost]
version = "0.14"

[dev-dependencies.quick-xml]
version = "0.38"
features = ["serialize"]

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "multipart",
    "rustls-tls",
]
default-features = false

[dev-dependencies.rmp-serde]
version = "1"

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

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

[dev-dependencies.serde_yaml]
version = "0.9"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

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

[dev-dependencies.validator]
version = "0.20.0"
features = ["derive"]