validy 1.1.12

A powerful and flexible Rust library based on procedural macros for validation, modification, and DTO (Data Transfer Object) handling. Designed to integrate seamlessly with Axum. Inspired by Validator, Validify and Garde.
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 = "2024"
name = "validy"
version = "1.1.12"
build = false
exclude = [
    ".github/",
    ".gitignore",
    "expand.sh",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A powerful and flexible Rust library based on procedural macros for validation, modification, and DTO (Data Transfer Object) handling. Designed to integrate seamlessly with Axum. Inspired by Validator, Validify and Garde."
readme = "readme.md"
keywords = [
    "validation",
    "axum",
    "derive",
    "input-validation",
    "macros",
]
categories = [
    "web-programming",
    "data-structures",
    "parsing",
]
license = "MIT"
repository = "https://github.com/L-Marcel/validy"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
all = [
    "derive",
    "macro_rules",
    "macro_rules_assertions",
    "validation",
    "modification",
    "email",
    "pattern",
    "ip",
    "time",
    "axum",
    "axum_multipart",
    "uuid",
]
axum = [
    "dep:axum",
    "derive",
    "validation_derive/axum",
]
axum_multipart = [
    "axum",
    "dep:axum_typed_multipart",
    "validation_derive/axum_multipart",
]
default = [
    "derive",
    "macro_rules",
    "validation",
    "modification",
]
derive = [
    "dep:validation_derive",
    "dep:serde",
]
email = ["dep:email_address"]
ip = []
macro_rules = []
macro_rules_assertions = ["dep:pretty_assertions"]
modification = ["dep:heck"]
pattern = [
    "dep:moka",
    "dep:regex",
]
time = ["dep:chrono"]
uuid = ["dep:uuid"]
validation = []

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

[dependencies.async-trait]
version = "0.1.89"

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

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

[dependencies.chrono]
version = "0.4.42"
optional = true

[dependencies.email_address]
version = "0.2.9"
optional = true

[dependencies.heck]
version = "0.5.0"
optional = true

[dependencies.moka]
version = "0.12.12"
features = ["sync"]
optional = true

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.pretty_assertions]
version = "1.4.1"
optional = true

[dependencies.regex]
version = "1.12.2"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

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

[dependencies.validation_derive]
version = "1.1.4"
optional = true

[dev-dependencies.http-body-util]
version = "0.1.3"

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

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt",
]

[dev-dependencies.tower]
version = "0.5.3"